MySQL Database
-
Set up a MySQL database (ex. a MySQL Docker)
-
Create a file within your Conreq data directory create a MySQL configuration file (ex.
mysql.cnf
). At minimum you must include the following...[client] database = conreq user = db_username password = db_password host = 192.168.86.200 default-character-set = utf8
Take a look at MySQL's cnf docs for all available parameters.
-
Set your
DB_ENGINE
variable toMYSQL
and yourMYSQL_CONFIG_FILE
variable to the path to your cnf file (ex./config/mysql.cnf
).If using Unraid/Docker, add this as a Docker variable. Otherwise, search "How to set environment variables in ... Windows 10"
Last update: July 11, 2021