Updated Using the MySQL Backend (markdown)

Stephan Tietz
2019-11-17 16:27:07 +00:00
parent 9f12c57e24
commit 872bbce6a4

@@ -57,5 +57,10 @@ FLUSH PRIVILEGES;
NB: On Debian (Buster), you'll need to install sqlite3 for this
6. Drop schema creation and diesel metadata from your dump, leaving only your actual data: ```grep "INSERT INTO" sqlitedump.sql | grep -v "__diesel_schema_migrations" > mysqldump.sql```
7. Load your MySQL dump: ```mysql -ubitwarden_rs -pyourpassword < mysqldump.sql```
NB: You might want to use ```--show-warnings```
*NB: Using ```--show-warnings``` will highlight that the datetime fields are getting truncated during the import which **seems** to be okay.
```
Note (Code 1265): Data truncated for column 'created_at' at row 1
Note (Code 1265): Data truncated for column 'updated_at' at row 1
```
*
8. Start bitwarden_rs.