MySQL Database

  1. Set up a MySQL database (ex. a MySQL Docker)

  2. 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.

  3. Set your DB_ENGINE variable to MYSQL and your MYSQL_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