mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 01:01:22 +00:00
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"homepage": "https://dev.mysql.com/downloads/mysql/",
|
|
"version": "5.7.14",
|
|
"license": "GPLv2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.14-winx64.zip",
|
|
"hash": "md5:dac7a16845da1dd3f789ca27972cca65",
|
|
"extract_dir": "mysql-5.7.14-winx64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.14-win32.zip",
|
|
"hash": "md5:5b88f3e3724122f1fbd2fac26f8a7bd8",
|
|
"extract_dir": "mysql-5.7.14-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"
|
|
],
|
|
"post_install": "
|
|
#Initialize data directory (without generating root password)
|
|
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
|
|
"
|
|
}
|