Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 10, 2024
1 parent 28b64b3 commit 57558d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/mysql-yum/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,7 @@ def initMysql8Data():
datadir + ' --initialize-insecure --lower-case-table-names=1'
data = mw.execShell(cmd)
# print(data)
if data[1] != '':
print(data[1])
exit(-1)


if not mw.isAppleSystem():
mw.execShell('chown -R mysql:mysql ' + datadir)
mw.execShell('chmod -R 755 ' + datadir)
Expand Down

0 comments on commit 57558d7

Please sign in to comment.