mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 16:51:20 +00:00
59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
{
|
|
"homepage": "https://dev.mysql.com/downloads/mysql/",
|
|
"version": "5.7.21",
|
|
"license": "GPLv2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.21-winx64.zip",
|
|
"hash": "883caeb4d2aa1221f737e6abedbf155f0dd9a8fe26e8e7335acb468d765f5c0d",
|
|
"extract_dir": "mysql-5.7.21-winx64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.21-win32.zip",
|
|
"hash": "9bf87526e991a5d1a8a2e5ac7325d043cd750a876086ee18b3805cf7017fa24e",
|
|
"extract_dir": "mysql-5.7.21-win32"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin\\mysqld.exe",
|
|
"bin\\mysql.exe",
|
|
"bin\\mysqldump.exe",
|
|
"bin\\mysqladmin.exe",
|
|
"bin\\mysqlbinlog.exe",
|
|
"bin\\mysqlcheck.exe",
|
|
"bin\\mysqlimport.exe",
|
|
"bin\\mysqlshow.exe",
|
|
"bin\\mysqlslap.exe",
|
|
"bin\\my_print_defaults.exe"
|
|
],
|
|
"persist": [
|
|
"data"
|
|
],
|
|
"post_install": "
|
|
#Initialize data directory (without generating root password)
|
|
if (!(Test-Path \"$dir\\data\\auto.cnf\")) {
|
|
mysqld --initialize-insecure
|
|
}
|
|
#Output client configuration to my.ini file so no username is required when connecting
|
|
echo \"\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append
|
|
echo \"[client]\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append
|
|
echo \"user=root\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append
|
|
",
|
|
"checkver": {
|
|
"url": "https://dev.mysql.com/downloads/mysql/",
|
|
"re": "<h1>MySQL Community Server ([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-$version-winx64.zip",
|
|
"extract_dir": "mysql-$version-winx64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-$version-win32.zip",
|
|
"extract_dir": "mysql-$version-win32"
|
|
}
|
|
}
|
|
}
|
|
}
|