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

18 lines
481 B
Markdown
Raw Normal View History

2022-12-09 01:47:28 +00:00
# Getting started with PowerDNS-Admin
2022-12-09 03:11:04 +00:00
In your FLASK_CONF (check the installation directions for where yours is) file, make sure you have the database URI filled in (in some previous documentation this was called config.py):
TODO: list location of config.py
2022-12-09 01:47:28 +00:00
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'
```