From c73961ea258edfe813edcb6f3d99a26c52ffeef3 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 18 Jun 2022 18:21:07 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index ab3552f15..a00c951ba 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -384,7 +384,7 @@ def initMysql8Pwd(): return True -def myOp(method): +def myOp(version, method): # import commands init_file = initDreplace() cmd = init_file + ' ' + method @@ -439,9 +439,9 @@ def my8cmd(version, method): def appCMD(version, action): - if version == '8.0': + if version == '8.0' or version == '5.7': return my8cmd(version, action) - return myOp(action) + return myOp(version, action) def start(version=''):