mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 17:21:20 +00:00
63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"homepage": "https://dev.mysql.com/downloads/mysql/",
|
|
"version": "5.7.19",
|
|
"license": "GPLv2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.19-winx64.zip",
|
|
"hash": "a30ad20176bb1d10c23348384d6d3cc3c50074dd1b80c0278c632da163ab6ebb",
|
|
"extract_dir": "mysql-5.7.19-winx64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dev.mysql.com/get/mysql-5.7.19-win32.zip",
|
|
"hash": "167a45b6e06afb9a06e91df47e33b9ad22f2e8ee1ed33dd20ad04d491e76c6bf",
|
|
"extract_dir": "mysql-5.7.19-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"
|
|
}
|
|
}
|
|
}
|
|
}
|