mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 08:41:20 +00:00
mysql persist database content
This commit is contained in:
parent
6c3f8e30db
commit
8c0745137c
@ -26,9 +26,14 @@
|
||||
"bin\\mysqlslap.exe",
|
||||
"bin\\my_print_defaults.exe"
|
||||
],
|
||||
"persist": [
|
||||
"data"
|
||||
],
|
||||
"post_install": "
|
||||
#Initialize data directory (without generating root password)
|
||||
mysqld --initialize-insecure
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user