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