From b2fdf84ca0dbfd11cb67518847bd6d9bb2e9c2cf Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 4 May 2023 16:39:46 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 87056073c..a1fc276e3 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -383,7 +383,7 @@ def initMysql57Data(): myconf = serverdir + "/etc/my.cnf" user = pGetDbUser() cmd = 'cd ' + serverdir + ' && ./bin/mysqld --defaults-file=' + myconf + \ - ' --initialize-insecure --explicit_defaults_for_timestamp' + ' --initialize-insecure --explicit_defaults_for_timestamp --user=mysql' data = mw.execShell(cmd) # print(data) return False