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:
@@ -333,7 +333,7 @@ def initMysql8Pwd():
|
||||
|
||||
cmd_pass = cmd_my + ' --defaults-file=' + myconf + ' -uroot -e'
|
||||
cmd_pass = cmd_pass + \
|
||||
'"alter user \'root\'@\'localhost\' identified by \'' + pwd + '\';"'
|
||||
'"alter user \'root\'@\'localhost\' identified by \'' + pwd + '\';'
|
||||
cmd_pass = cmd_pass + 'flush privileges;"'
|
||||
# print(cmd_pass)
|
||||
data = mw.execShell(cmd_pass)
|
||||
|
||||
Reference in New Issue
Block a user