mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 09:16:11 +01:00
Something else is wrong...
This commit is contained in:
@@ -620,7 +620,7 @@ class InstallCyberPanel:
|
||||
|
||||
def fixMariaDB(self):
|
||||
self.stdOut("Setup MariaDB so it can support Cyberpanel's needs")
|
||||
try:
|
||||
|
||||
conn = mariadb.connect(user='root', passwd=self.mysql_Root_password)
|
||||
cursor = conn.cursor()
|
||||
cursor.execute('set global innodb_file_per_table = on;')
|
||||
@@ -628,8 +628,6 @@ class InstallCyberPanel:
|
||||
cursor.execute('set global innodb_large_prefix = on;')
|
||||
cursor.close()
|
||||
conn.close()
|
||||
except:
|
||||
self.stdOut("Error in setting MariaDB global options", 1, 1, os.EX_OSERR)
|
||||
|
||||
try:
|
||||
fileName = '/etc/mysql/mariadb.conf.d/50-server.cnf'
|
||||
|
||||
Reference in New Issue
Block a user