mysql_secure_installation correction 5
This commit is contained in:
parent
80b47e2f43
commit
8b0fcab0c8
|
@ -104,7 +104,9 @@ if [[ "$answer" == "y" ]]; then
|
||||||
spawn mysql_secure_installation
|
spawn mysql_secure_installation
|
||||||
expect \"Enter current password for root (enter for none):\"
|
expect \"Enter current password for root (enter for none):\"
|
||||||
send \"\r\"
|
send \"\r\"
|
||||||
expect \"root password?\"
|
expect \"Switch to unix_socket authentication [Y/n]\"
|
||||||
|
send \"n\r\"
|
||||||
|
expect \"Change the root password? [Y/n]\"
|
||||||
send \"y\r\"
|
send \"y\r\"
|
||||||
expect \"New password:\"
|
expect \"New password:\"
|
||||||
send \"$db_root_password\r\"
|
send \"$db_root_password\r\"
|
||||||
|
|
Loading…
Reference in New Issue