mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -321,7 +321,7 @@ def initMysql8Pwd():
|
||||
myconf = serverdir + "/etc/my.cnf"
|
||||
pwd = mw.getRandomString(16)
|
||||
|
||||
cmd_my = '/usr/bin/mysql'
|
||||
cmd_my = serverdir + '/usr/bin/mysql'
|
||||
|
||||
cmd_pass = cmd_my + ' --defaults-file=' + myconf + ' -uroot -e'
|
||||
cmd_pass = cmd_pass + \
|
||||
|
||||
Reference in New Issue
Block a user