mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
mariadb: remove mysql_upgrade_wizard.exe (closes #2314)
Use Arrays for notes and post_install
This commit is contained in:
parent
13db85e177
commit
d66d72d4ad
17
mariadb.json
17
mariadb.json
@ -41,20 +41,19 @@
|
||||
"bin\\mysql_tzinfo_to_sql.exe",
|
||||
"bin\\mysql_upgrade.exe",
|
||||
"bin\\mysql_upgrade_service.exe",
|
||||
"bin\\mysql_upgrade_wizard.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
|
||||
}",
|
||||
"notes": "Run following command as administrator to run MariaDB as a service.
|
||||
|
||||
mysqld --install \"[Service Name(default:MySQL)]\"
|
||||
",
|
||||
"post_install": [
|
||||
"# Initialize data directory (without generating root password)",
|
||||
"if (!(Test-Path \"$dir\\data\\auto.cnf\")) { mysqld --initialize-insecure }"
|
||||
],
|
||||
"notes": [
|
||||
"Run following command as administrator to run MariaDB as a service.\n",
|
||||
"mysqld --install \"[Service Name(default:MySQL)]\"\n"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://downloads.mariadb.org/",
|
||||
"re": "Download ([\\d.]+) Stable"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user