enable remote mysql in cyberpanel.sh

This commit is contained in:
Usman Nasir
2020-06-26 12:32:02 +05:00
parent 2abcfa0262
commit 18245f80dd
2 changed files with 56 additions and 3 deletions

View File

@@ -284,7 +284,6 @@ class InstallCyberPanel:
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
############## Start mariadb ######################
self.startMariaDB()
@@ -648,6 +647,7 @@ def Main(cwd, mysql, distro, ent, serial = None, port = "8090", ftp = None, dns
installer.installMySQL(mysql)
installer.changeMYSQLRootPassword()
#installer.changeMYSQLRootPasswordCyberPanel(mysql)
installer.startMariaDB()
if distro == ubuntu:
installer.fixMariaDB()