mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-26 03:39:20 -07:00
Updated Using the MariaDB (MySQL) Backend (markdown)
@@ -174,3 +174,9 @@ use vaultwarden
|
||||
source /vw-data/mysqldump.sql
|
||||
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`
|
||||
Reference in New Issue
Block a user