0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-17 19:38:25 +02:00

Updated Using the MySQL Backend (markdown)

Jeremy Lin 2020-10-31 14:12:48 -07:00
parent bdc5ad263f
commit 9531b674a6

@ -1,6 +1,6 @@
To use the MySQL backend, you can either use the [official Docker image](https://hub.docker.com/r/bitwardenrs/server) or build your own binary [with MySQL enabled](https://github.com/dani-garcia/bitwarden_rs/wiki/Building-binary#mysql-backend).
To run the binary or container ensure the ```DATABASE_URL``` environment variable is set (i.e. ```DATABASE_URL='mysql://<user>:<password>@mysql/bitwarden'```) and ```ENABLE_DB_WAL``` is set to false ```ENABLE_DB_WAL='false'``` .
To run the binary or container, ensure the ```DATABASE_URL``` environment variable is set (i.e. ```DATABASE_URL='mysql://<user>:<password>@mysql/bitwarden'```).
**Connection String Syntax:**
```ini