diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 023465d6e..3e62144b3 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -739,7 +739,7 @@ def importDbBackup(): pwd = pSqliteDb('config').where('id=?', (1,)).getField('mysql_root') sock = getSocketFile() - mysql_cmd = getServerDir() + '/bin/mysql -S ' + sock + ' -uroot -p' + pwd + \ + mysql_cmd = getServerDir() + '/bin/mariadb -S ' + sock + ' -uroot -p' + pwd + \ ' ' + name + ' < ' + file_path_sql # print(mysql_cmd)