mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
bug fix in fixMariaDB
This commit is contained in:
@@ -328,8 +328,11 @@ class InstallCyberPanel:
|
|||||||
conn = mariadb.connect(user='root', passwd=self.mysql_Root_password)
|
conn = mariadb.connect(user='root', passwd=self.mysql_Root_password)
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
cursor.execute('set global innodb_file_per_table = on;')
|
cursor.execute('set global innodb_file_per_table = on;')
|
||||||
cursor.execute('set global innodb_file_format = Barracuda;')
|
try:
|
||||||
cursor.execute('set global innodb_large_prefix = on;')
|
cursor.execute('set global innodb_file_format = Barracuda;')
|
||||||
|
cursor.execute('set global innodb_large_prefix = on;')
|
||||||
|
except BaseException as msg:
|
||||||
|
self.stdOut('%s. [ERROR:335]' % (str(msg)))
|
||||||
cursor.close()
|
cursor.close()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user