Update sql_mysql.py

This commit is contained in:
Mr Chen
2024-12-17 23:18:56 +08:00
parent aee405f9e2
commit 798c52f23d
+1 -1
View File
@@ -84,7 +84,7 @@ class nosqlMySQL():
result['host'] = '127.0.0.1'
result['username'] = 'root'
if sid in ['mysql', 'mysql-apt', 'mysql-yum']:
if sid in ['mysql', 'mysql-apt', 'mysql-yum', 'mysql-community']:
my_cnf_path = "{}/{}/etc/my.cnf".format(mw.getServerDir(),sid)
if not os.path.exists(my_cnf_path):
return False