diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 7bc03464b..04c1559dd 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -850,7 +850,7 @@ def setDbBackup(): # 数据库密码处理 def myPass(act, root): - conf_file = getConf('mysql') + conf_file = getConf() mw.execShell("sed -i '/user=root/d' {}".format(conf_file)) mw.execShell("sed -i '/password=/d' {}".format(conf_file)) if act: