From b31bfcb88a4c712e9f6f4e1f4fe2a0be8d688434 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 6 May 2024 01:24:55 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index c4da1bffe..b65c84162 100755 --- a/plugins/mongodb/index.py +++ b/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):