From 856712390a2b67e05eaa2a76a9e08d3de8f6ee1a Mon Sep 17 00:00:00 2001 From: David Rousselie Date: Fri, 28 Sep 2007 20:50:13 +0200 Subject: [PATCH] Add MySQL config example darcs-hash:20070928185013-86b55-bbcf39315d915e04992f056513a1bd73166ef1d2.gz --- conf/jcl.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/jcl.conf b/conf/jcl.conf index 8457d9c..c472af9 100644 --- a/conf/jcl.conf +++ b/conf/jcl.conf @@ -7,12 +7,15 @@ service_jid: jcl.localhost language: en [db] -#type: mysql +#SQLite config type: sqlite -#host: root@localhost host: name: /var/spool/jabber/jcl.db -#url: %(type)%(host)%(name)?debug=1&debugThreading=1 +#Mysql config +#type: mysql +#host: root:pass@localhost +#name: /jcl +#db_url: %(type)s://%(host)s%(name)s?debug=1&debugThreading=1 db_url: %(type)s://%(host)s%(name)s [component]