diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 335a2d910..7fa63b055 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -2679,7 +2679,7 @@ def doFullSyncUser(version=''): if os.path.exists(bak_file): pwd = pSqliteDb('config').where('id=?', (1,)).getField('mysql_root') sock = getSocketFile() - my_import_cmd = getServerDir() + '/bin/mysql -S ' + sock + ' -uroot -p' + pwd + \ + my_import_cmd = getServerDir() + '/bin/mariadb -S ' + sock + ' -uroot -p' + pwd + \ ' ' + sync_db + ' < ' + bak_file mw.execShell(my_import_cmd)