powerdns-admin/docs/wiki/configuration/Getting-started.md

16 lines
334 B
Markdown
Raw Normal View History

2022-12-09 01:47:28 +00:00
# Getting started with PowerDNS-Admin
In your `config.py` file, make sure you have the database URI filled in:
2022-12-09 02:02:37 +00:00
For MySQL / MariaDB:
```
SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name'
```
2022-12-09 01:47:28 +00:00
For Postgres:
```
SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin:powerdnsadmin@127.0.0.1/powerdnsadmindb'
```