mysql_secure_installation correction 6

This commit is contained in:
Valentin 2024-02-23 16:34:56 +01:00
parent 8b0fcab0c8
commit 9d38ac2f29
1 changed files with 2 additions and 2 deletions

View File

@ -104,9 +104,9 @@ if [[ "$answer" == "y" ]]; then
spawn mysql_secure_installation
expect \"Enter current password for root (enter for none):\"
send \"\r\"
expect \"Switch to unix_socket authentication [Y/n]\"
expect \"Switch to unix_socket authentication \\[Y/n\\]\"
send \"n\r\"
expect \"Change the root password? [Y/n]\"
expect \"Change the root password? \\[Y/n\\]\"
send \"y\r\"
expect \"New password:\"
send \"$db_root_password\r\"