Updated Using the MariaDB (MySQL) Backend (markdown)

Nicholas Nhien
2021-06-30 05:36:16 +00:00
parent 5c80920bab
commit e9f82161f4

@@ -174,3 +174,9 @@ use vaultwarden
source /vw-data/mysqldump.sql source /vw-data/mysqldump.sql
exit exit
``` ```
*Note 2: If MariaDB might complain about mismatched value counts if SQLite database is migrated from a prior, older version, e.g.:
```
ERROR 1136 (21S01) at line ###: Column count doesn't match value count at row 1
```
The version jump may have added new database columns. Upgrade vaultwarden using the SQLite backend first to run migrations on the SQLite database, switch to the MariaDB backend, then repeat migration steps above. Alternatively, look for the commits adding migrations since the version you had installed and run migrations manually using `sqlite3`