mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 10:55:10 +00:00
Update MySQL configuration in installation script to use password for flushing privileges
This commit is contained in:
parent
2c65b7fc9a
commit
f69c725944
@ -32,9 +32,13 @@ $STD ufw allow 'Nginx Full'
|
||||
# Configure MySQL
|
||||
msg_info "Configuring MySQL"
|
||||
$STD mysql -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH 'mysql_native_password' BY 'ghost';"
|
||||
$STD mysql -u root -e "FLUSH PRIVILEGES;"
|
||||
$STD mysql -u root -p'ghost' -e "FLUSH PRIVILEGES;"
|
||||
msg_ok "Configured MySQL"
|
||||
|
||||
|
||||
Rules updated (v6)
|
||||
|
||||
|
||||
# Set up Node.js Repository
|
||||
msg_info "Setting up Node.js Repository"
|
||||
mkdir -p /etc/apt/keyrings
|
||||
|
Loading…
Reference in New Issue
Block a user