mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-03-03 15:54:39 +00:00
Add post-install script to initialize data and configuration
This commit is contained in:
parent
e1c458c198
commit
3841c418c8
@ -24,5 +24,11 @@
|
||||
"bin\\mysqlshow.exe",
|
||||
"bin\\mysqlslap.exe",
|
||||
"bin\\my_print_defaults.exe"
|
||||
]
|
||||
],
|
||||
"post_install": "
|
||||
$dir/bin/mysqld --initialize-insecure
|
||||
cp $dir/my-default.ini $dir/my.ini
|
||||
echo \"[client]\" >> $dir/my.ini
|
||||
echo \"user=root\" >> $dir/my.ini
|
||||
"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user