Database: allow mysql, config in ini file

Also check for ini file existence at startup
This commit is contained in:
2022-07-20 23:31:12 +02:00
parent 7f33df91ef
commit 25c5a4179c
4 changed files with 36 additions and 3 deletions

View File

@@ -1,3 +1,16 @@
[db]
backend = sqlite
[sqlite]
filename = fioul.db
[mysql]
database = fioul
user = please change me
password = please change me
host = localhost
port = 3306
[server]
host = localhost
port = 9980