From c59f3baa16a37e40cc7803f2d71f285a6443135f Mon Sep 17 00:00:00 2001 From: wxlost Date: Thu, 7 May 2020 17:16:55 +0800 Subject: [PATCH] Syntax error near '"users" Note1 --- Using-the-MySQL-Backend.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Using-the-MySQL-Backend.md b/Using-the-MySQL-Backend.md index 0e00c45..2edd784 100644 --- a/Using-the-MySQL-Backend.md +++ b/Using-the-MySQL-Backend.md @@ -69,4 +69,20 @@ NB: On Debian (Buster), you'll need to install sqlite3 for this ``` Note (Code 1265): Data truncated for column 'created_at' at row 1 Note (Code 1265): Data truncated for column 'updated_at' at row 1 -``` \ No newline at end of file +``` + + +*Note1:Then error loading data mysqldump.sql Load error +``` +error (1064): Syntax error near '"users" VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581','2019-05-26 03:55:06.05651' at line 1 +``` +fix +``` +sed -i s#\"#\#g mysqldump.sql +``` +``` +mysql -ubitwarden_rs pyourpassword +use bitwarden_rs +source /bw-data/mysqldump.sql +exit +```