Skip to content

Own MySQL Server

Petter Andersson edited this page May 26, 2018 · 1 revision

If you have your own MySQL server running, it is very simple to set up the bot to work to your database!

  1. Run db.sql file in your database. Make sure the top line in the db.sql is changed to the name of your database (pettea -> your_database)

  2. Edit db_sequelize information in initDb method to match your information: Replace pettea with database, replace pettea_admin with username, host address is where your server is running.

  3. Edit conf.json to have your database password as the dbpw field. This will be used in the login for the system.

Note This hasn't been attempted yet so if you try it and run into problems, feel free to comment

Clone this wiki locally