From 73d9edced8b077511073d74045a41c783c42dd24 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 2 Aug 2023 17:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8mariadb=E4=BA=8C=E8=BF=9B?= =?UTF-8?q?=E5=88=B6=E5=AF=BC=E5=85=A5=E5=A4=87=E4=BB=BD=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/mariadb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)