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:
@@ -429,7 +429,6 @@ def initMysqlPwd():
|
||||
|
||||
# 删除冗余账户
|
||||
hostname = mw.execShell('hostname')[0]
|
||||
drop_hostname = "drop user ''@'" + hostname + "'"
|
||||
|
||||
drop_hostname = serverdir + '/bin/mysql --defaults-file=' + \
|
||||
myconf + ' -uroot -p' + pwd + ' -e "drop user \'\'@\'' + hostname + '\'";'
|
||||
|
||||
Reference in New Issue
Block a user