diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh index 961bf5a45..9038c1294 100644 --- a/cyberpanel_upgrade.sh +++ b/cyberpanel_upgrade.sh @@ -252,6 +252,7 @@ EOF systemctl start mysql mysql_upgrade -uroot -p$MYSQLPassword + mysql_upgrade -uroot -p$MYSQLPassword -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '%s';flush privileges" fi