mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-26 18:46:18 +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
|
# Configure MySQL
|
||||||
msg_info "Configuring 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 "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"
|
msg_ok "Configured MySQL"
|
||||||
|
|
||||||
|
|
||||||
|
Rules updated (v6)
|
||||||
|
|
||||||
|
|
||||||
# Set up Node.js Repository
|
# Set up Node.js Repository
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
mkdir -p /etc/apt/keyrings
|
mkdir -p /etc/apt/keyrings
|
||||||
|
Loading…
Reference in New Issue
Block a user