mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
mariadb: Update post_install
related: https://github.com/ScoopInstaller/Scoop/pull/5065
This commit is contained in:
parent
bef9c55b2a
commit
38d3ede205
@ -21,7 +21,7 @@
|
||||
"post_install": [
|
||||
"if (!(Test-Path \"$dir\\data\\my.ini\") -and !(Test-Path \"$dir\\data\\my.cnf\") -and !(Test-Path \"$dir\\data\\mysql\")) {",
|
||||
" warn 'Initializing data directory ...'",
|
||||
" Invoke-ExternalCommand -FilePath \"$dir\\bin\\mysql_install_db.exe\" -ArgumentList @(\"--datadir=`\"$dir\\data`\"\")",
|
||||
" Invoke-ExternalCommand \"$dir\\bin\\mysql_install_db.exe\" -ArgumentList \"--datadir=$dir\\data\" | Out-Null",
|
||||
" warn 'Database has been initialized (username: root, password: <blank>)'",
|
||||
"}"
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user