diff --git a/plugins/mysql-apt/conf/my8.0.cnf b/plugins/mysql-apt/conf/my8.0.cnf index cfeb6be02..8488245cb 100644 --- a/plugins/mysql-apt/conf/my8.0.cnf +++ b/plugins/mysql-apt/conf/my8.0.cnf @@ -24,7 +24,7 @@ read_buffer_size = 128K read_rnd_buffer_size = 256K myisam_sort_buffer_size = 4M thread_cache_size = 4 -lower_case_table_names=1 +lower_case_table_names=0 tmp_table_size = 8M character-set-server = UTF8MB4 diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 308528395..8890fc9e6 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -290,7 +290,8 @@ def initMysql8Data(): serverdir = getServerDir() user = pGetDbUser() - cmd = 'mysqld --basedir=/usr --datadir=' + datadir + ' --initialize-insecure' + cmd = 'mysqld --basedir=/usr --datadir=' + datadir + \ + ' --initialize-insecure --lower-case-table-names=1' data = mw.execShell(cmd) if data[1].find('ERROR') != -1: exit("Init MySQL{} Data Error".format(8))