mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 07:46:10 +01:00
This commit is contained in:
@@ -413,7 +413,7 @@ gpgcheck=1
|
|||||||
passwordCMD = "use mysql;DROP DATABASE IF EXISTS test;DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%%';GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '%s';flush privileges;" % (
|
passwordCMD = "use mysql;DROP DATABASE IF EXISTS test;DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%%';GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '%s';flush privileges;" % (
|
||||||
InstallCyberPanel.mysql_Root_password)
|
InstallCyberPanel.mysql_Root_password)
|
||||||
|
|
||||||
command = 'mysql -u root -e "' + passwordCMD + '"'
|
command = 'mariadb -u root -e "' + passwordCMD + '"'
|
||||||
|
|
||||||
install.preFlightsChecks.call(command, self.distro, command, command, 0, 0, os.EX_OSERR)
|
install.preFlightsChecks.call(command, self.distro, command, command, 0, 0, os.EX_OSERR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user