Mercurial > kallithea
changeset 1443:7cbc901bb8e4 beta
Added example connection string for other databases
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 14 Aug 2011 23:51:40 +0300 |
parents | 7f31de1584c6 |
children | d17aa79768f0 |
files | rhodecode/config/deployment.ini_tmpl |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/config/deployment.ini_tmpl Sun Aug 14 23:51:21 2011 +0300 +++ b/rhodecode/config/deployment.ini_tmpl Sun Aug 14 23:51:40 2011 +0300 @@ -142,7 +142,17 @@ ######################################################### ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### ######################################################### + +# SQLITE [default] sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db + +# POSTGRES +# sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode + +# MySQL +# sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode + + sqlalchemy.db1.echo = false sqlalchemy.db1.pool_recycle = 3600 sqlalchemy.convert_unicode = true