Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 14, 2024
1 parent cf707df commit 16c9029
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/mysql-apt/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 16c9029

Please sign in to comment.