mysql_secure_installation correction 6
This commit is contained in:
parent
8b0fcab0c8
commit
9d38ac2f29
|
@ -104,9 +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 \"Switch to unix_socket authentication [Y/n]\"
|
expect \"Switch to unix_socket authentication \\[Y/n\\]\"
|
||||||
send \"n\r\"
|
send \"n\r\"
|
||||||
expect \"Change the root password? [Y/n]\"
|
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