Skip to content
Zeyphros edited this page Oct 30, 2020 · 6 revisions

All configuration is completed in /etc/oblecto/config.json

Using Mysql

If you wish to use mysql as a database backend instead of sqlite, you must find the database entry in the config file. Set dialect to mysql and set the host, username, password and database values to the corresponding values of your database.

Example

"database": {
    "dialect": "mysql",
    "host": "192.168.178.36",
    "username": "root",
    "password": "root",
    "database": "Oblecto"
},

Why use MySQL as a database backend?

Oblecto does not yet support all available features with the sqlite database backend. Using MySQL may also increase indexing and retrieval speeds.