summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-10-30 14:27:57 +0000
committerLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-10-30 14:27:57 +0000
commitb62b3acea41ac91aeb4870538fc5745764aff5ea (patch)
tree05e14b2e28731419a8c5a4939cecc24faa48da4f
parent3012c7711d956750b4444280ce31aaa8570e7cce (diff)
mysql config: use dsn instead of individual keys
-rw-r--r--config-default/mysql.json8
1 files changed, 1 insertions, 7 deletions
diff --git a/config-default/mysql.json b/config-default/mysql.json
index ca97b86..7b25e0e 100644
--- a/config-default/mysql.json
+++ b/config-default/mysql.json
@@ -1,8 +1,5 @@
{
- "actiontable" : "actionlog",
- "db" : "asm_main",
- "dblog" : "asm_log",
- "host" : "localhost",
+ "dsn" : "DBI:mysql:database=asm_main;host=localhost;port=3307",
"ignoredgecos" : [
"new now know how"
],
@@ -10,7 +7,4 @@
"~chatzilla"
],
"pass" : "PASS",
- "port" : "3307",
- "table" : "alertlog",
- "user" : "USER"
}