From 16c90290f968ef8154c2d3cce9a8ef0eab4626ae Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 15 Dec 2024 04:22:07 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-apt/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 13df4eedf..4b9f03c7e 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -449,6 +449,8 @@ def initMysql8Data(): data = mw.execShell(cmd) if data[1].lower().find('error') != -1: exit("Init MySQL8+ Data Error:"+data[1]) + if data[1].lower().find('not found') != -1: + exit("Init MySQL8+ Data Error:"+data[1]) if not mw.isAppleSystem(): mw.execShell('chown -R mysql:mysql ' + datadir)