diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index a56fe9757..c4fa6346e 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -418,7 +418,7 @@ def myOp(version, method): if initData == 0: initMysqlPwd() - data = mw.execShell('systemctl ' + method + ' mysql') + mw.execShell('systemctl ' + method + ' mysql') return 'ok' except Exception as e: return str(e) @@ -452,7 +452,7 @@ def my8cmd(version, method): time.sleep(3) my8cmd(version, method) else: - data = mw.execShell('systemctl ' + method + ' mysql') + mw.execShell('systemctl ' + method + ' mysql') return 'ok' except Exception as e: