Update index.py

This commit is contained in:
Mr Chen
2024-05-06 01:24:55 +08:00
parent dbb95228b1
commit b31bfcb88a
+1 -1
View File
@@ -1270,7 +1270,7 @@ def importDbExternal():
mg_root = pSqliteDb('config').where('id=?', (1,)).getField('mg_root')
uoption = ''
if auth != 'disabled':
uoption =' -u root -p '+mg_root
uoption =' --authenticationDatabase admin -u root -p '+mg_root
file_dir = import_dir+name
if not os.path.exists(file_dir):