From 61551e7638f4d59d2c622d29b311694d3ed7b980 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 16 Sep 2020 22:10:44 +0500 Subject: [PATCH] bug fix: grant priv --- cyberpanel_upgrade.sh | 1 + 1 file changed, 1 insertion(+) 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