mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 09:11:18 +00:00
63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"homepage": "https://dev.mysql.com/downloads/mysql/",
|
|
"version": "5.7.17",
|
|
"license": "GPLv2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.17-winx64.zip",
|
|
"hash": "53b2e9eec6d7c986444926dd59ae264d156cea21a1566d37547f3e444c0b80c8",
|
|
"extract_dir": "mysql-5.7.17-winx64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.17-win32.zip",
|
|
"hash": "5fd863bbe76e306989ec2ba43fb4b7e9d72240ac1e058c590cf6ea72cc9454df",
|
|
"extract_dir": "mysql-5.7.17-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
|
|
}
|
|
|
|
#Copy provided sample file to live file location
|
|
cp $dir/my-default.ini $dir/my.ini
|
|
|
|
#Output client configuration to my.ini file so no username is required when connecting
|
|
echo \"\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append
|
|
echo \"[client]\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append
|
|
echo \"user=root\" | out-file \"$dir/my.ini\" -Encoding UTF8 -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"
|
|
}
|
|
}
|
|
}
|
|
}
|