mysql_secure_installation correction 5

This commit is contained in:
Valentin 2024-02-23 16:30:50 +01:00
parent 80b47e2f43
commit 8b0fcab0c8
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ if [[ "$answer" == "y" ]]; then
spawn mysql_secure_installation
expect \"Enter current password for root (enter for none):\"
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\"
expect \"New password:\"
send \"$db_root_password\r\"