mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 02:39:26 +08:00
Update index.py
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user