Updated Using the MySQL Backend (markdown)

Stephan Tietz 2019-11-17 16:28:03 +00:00
parent 872bbce6a4
commit ce88baebe4

@ -57,10 +57,11 @@ 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: Using ```--show-warnings``` will highlight that the datetime fields are getting truncated during the import which **seems** to be okay.
8. Start bitwarden_rs.
*Note: Loading your MySQL dump with ```--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.
*