mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
75 lines
2.7 KiB
JSON
75 lines
2.7 KiB
JSON
{
|
|
"homepage": "https://dev.mysql.com/downloads/mysql/",
|
|
"version": "8.0.15",
|
|
"license": "GPL-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.15-winx64.zip",
|
|
"hash": "md5:75fd5cd2676209550a8b9bac4fd0a8b6",
|
|
"extract_dir": "mysql-8.0.15-winx64"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin/ibd2sdi.exe",
|
|
"bin/innochecksum.exe",
|
|
"bin/lz4_decompress.exe",
|
|
"bin/myisamchk.exe",
|
|
"bin/myisamlog.exe",
|
|
"bin/myisampack.exe",
|
|
"bin/myisam_ftdump.exe",
|
|
"bin/mysql.exe",
|
|
"bin/mysqladmin.exe",
|
|
"bin/mysqlbinlog.exe",
|
|
"bin/mysqlcheck.exe",
|
|
"bin/mysqld.exe",
|
|
"bin/mysqldump.exe",
|
|
"bin/mysqlimport.exe",
|
|
"bin/mysqlpump.exe",
|
|
"bin/mysqlrouter.exe",
|
|
"bin/mysqlrouter_plugin_info.exe",
|
|
"bin/mysqlshow.exe",
|
|
"bin/mysqlslap.exe",
|
|
"bin/mysql_config_editor.exe",
|
|
"bin/mysql_secure_installation.exe",
|
|
"bin/mysql_ssl_rsa_setup.exe",
|
|
"bin/mysql_tzinfo_to_sql.exe",
|
|
"bin/mysql_upgrade.exe",
|
|
"bin/my_print_defaults.exe",
|
|
"bin/perror.exe",
|
|
"bin/zlib_decompress.exe"
|
|
],
|
|
"persist": "data",
|
|
"post_install": [
|
|
"if (!(Test-Path \"$dir/my.ini\")) {",
|
|
" # Using $dir instead of $persist_dir, causes this error:",
|
|
" # [ERROR] [MY-010187] [Server] Could not open file 'C:/Users/ex/scoop/apps/mysql/current/data/host.err' for error logging: Permission denied",
|
|
" $dir_u = ($persist_dir -replace '\\\\', '/')",
|
|
" Add-Content \"$dir/my.ini\" '[mysqld]' -Encoding Ascii",
|
|
" Add-Content \"$dir/my.ini\" \"datadir=$dir_u/data\" -Encoding Ascii",
|
|
" # Set username so it's not required when connecting",
|
|
" Add-Content \"$dir/my.ini\" '[client]' -Encoding Ascii",
|
|
" Add-Content \"$dir/my.ini\" 'user=root' -Encoding Ascii",
|
|
"}",
|
|
"if (!(Test-Path \"$dir/data\\auto.cnf\")) {",
|
|
" # Initialize data directory (without generating root password)",
|
|
" mysqld.exe --initialize-insecure",
|
|
"}"
|
|
],
|
|
"checkver": {
|
|
"url": "https://dev.mysql.com/downloads/mysql/",
|
|
"re": "<h1>MySQL Community Server ([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dev.mysql.com/get/Downloads/MySQL-$majorVersion.$minorVersion/mysql-$version-winx64.zip",
|
|
"extract_dir": "mysql-$version-winx64",
|
|
"hash": {
|
|
"url": "https://dev.mysql.com/downloads/mysql/",
|
|
"find": "md5\">([A-Fa-f\\d]{32})"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|