Add mysql DB URI

This commit is contained in:
David Mc Ken 2022-12-08 22:02:37 -04:00
parent 1cd14210b9
commit d6838cf802

View File

@ -3,6 +3,11 @@
In your `config.py` file, make sure you have the database URI filled in: In your `config.py` file, make sure you have the database URI filled in:
For MySQL / MariaDB:
```
SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name'
```
For Postgres: For Postgres:
``` ```
SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin:powerdnsadmin@127.0.0.1/powerdnsadmindb' SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin:powerdnsadmin@127.0.0.1/powerdnsadmindb'