mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-11 11:11:19 +00:00
Clean up post-install script
Fix minor errors that came up in testing Add documentation
This commit is contained in:
parent
3841c418c8
commit
f990b2e6f2
@ -26,8 +26,14 @@
|
||||
"bin\\my_print_defaults.exe"
|
||||
],
|
||||
"post_install": "
|
||||
$dir/bin/mysqld --initialize-insecure
|
||||
#Initialize data directory (without generating root password)
|
||||
mysqld --initialize-insecure
|
||||
|
||||
#Copy provided sample file to live file location
|
||||
cp $dir/my-default.ini $dir/my.ini
|
||||
|
||||
#Output client configuration to my.ini file so no username is required when connecting
|
||||
echo \"\" >> $dir/my.ini
|
||||
echo \"[client]\" >> $dir/my.ini
|
||||
echo \"user=root\" >> $dir/my.ini
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user