mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -22,7 +22,7 @@ read_buffer_size = 128K
|
||||
read_rnd_buffer_size = 256K
|
||||
myisam_sort_buffer_size = 4M
|
||||
thread_cache_size = 4
|
||||
lower_case_table_names=0
|
||||
lower_case_table_names=2
|
||||
tmp_table_size = 8M
|
||||
character-set-server = UTF8MB4
|
||||
|
||||
|
||||
@@ -285,6 +285,7 @@ def initMysql8Data():
|
||||
user = pGetDbUser()
|
||||
cmd = 'mysqld --basedir=/usr --datadir=' + datadir + ' --initialize-insecure'
|
||||
mw.execShell(cmd)
|
||||
mw.execShell('chown -R mysql mysql ' + getServerDir())
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user