Update index.py

This commit is contained in:
midoks
2022-11-07 14:17:37 +08:00
parent 656c453f4f
commit 774154784d
+1 -1
View File
@@ -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 + \