Update index.py

pull/561/head
Mr Chen 1 year ago
parent dbb95228b1
commit b31bfcb88a
  1. 2
      plugins/mongodb/index.py

@ -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):

Loading…
Cancel
Save