Update index.py

This commit is contained in:
Mr Chen
2024-07-20 13:06:50 +08:00
parent d32ccbce0c
commit 996e452966
+1 -1
View File
@@ -243,7 +243,7 @@ def zabbixImportMySQLDataFile():
def zabbixImportMySQLData():
mysql_conf = getMySQLConf()
if os.path.exists(mysql_conf):
if not os.path.exists(mysql_conf):
exit("需要安装MySQL")
choose_mysql = getServerDir()+'/mysql.pl'