error (1064): Syntax error near '"users" VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581','2019-05-26 03:55:06.05651' at line 1
Finally found
INSERT INTO "users" VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
Should be changed to
INSERT INTO `users` VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
or
INSERT INTO users VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
mysql -ubitwarden_rs pyourpassword
use bitwarden_rs
source /home/bw-data/mysqldump.sql
exit
Originally created by @onepve on GitHub (May 6, 2020).
10.2.30-MariaDB
```
sqlite3 db.sqlite3 .dump > sqlitedump.sql
grep "INSERT INTO" sqlitedump.sql | grep -v "__diesel_schema_migrations" > mysqldump.sql
```
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
```
Finally found
```
INSERT INTO "users" VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
Should be changed to
INSERT INTO `users` VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
or
INSERT INTO users VALUES('9b5c2d13-8c4f-47e9-bd94-f0d7036ff581',******)
```
From " To `
------------------------------
```
cd /home/bw-data
sqlite3 db.sqlite3 .dump > sqlitedump.sql
grep "INSERT INTO" sqlitedump.sql | grep -v "__diesel_schema_migrations" > mysqldump.sql
```
```
sed -i s#\"#\#g mysqldump.sql
```
```
mysql -ubitwarden_rs pyourpassword
use bitwarden_rs
source /home/bw-data/mysqldump.sql
exit
```
Just adding a mention to this fix at the end would be great, thanks!
@dani-garcia commented on GitHub (May 7, 2020):
Can you edit the wiki page https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-MySQL-Backend?
Just adding a mention to this fix at the end would be great, thanks!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @onepve on GitHub (May 6, 2020).
10.2.30-MariaDB
Then error loading data mysqldump.sql Load error
Finally found
From " To `
@dani-garcia commented on GitHub (May 7, 2020):
Can you edit the wiki page https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-MySQL-Backend?
Just adding a mention to this fix at the end would be great, thanks!