diff --git a/scripts/dbPreparation.sh b/scripts/dbPreparation.sh index 7ac2751..40b5435 100644 --- a/scripts/dbPreparation.sh +++ b/scripts/dbPreparation.sh @@ -7,7 +7,7 @@ new_root_password=$(openssl rand -base64 12) DB_NAME="wp_$(openssl rand -hex 4)" DB_USER="wp_user_$(openssl rand -hex 4)" DB_PASSWORD="$(openssl rand -base64 12)" -DB_HOST="localhost" # Change if your database is hosted elsewhere +DB_HOST="127.0.0.1" # Change if your database is hosted elsewhere echo "New root password will be: $new_root_password" echo "New WordPress database credentials:" @@ -30,7 +30,7 @@ echo "Resetting the root password..." # Reset the root password in safe mode sudo mysql -u root <