2007-12-30 21:51:16 +00:00
|
|
|
#
|
|
|
|
# database configuration file
|
|
|
|
#
|
|
|
|
#
|
2012-11-24 12:13:58 +00:00
|
|
|
## for MySQL
|
|
|
|
################################################################
|
|
|
|
#%dbconfig= (
|
|
|
|
# connection => "mysql:database=fhem;host=db;port=3306",
|
|
|
|
# user => "fhemuser",
|
|
|
|
# password => "fhempassword",
|
|
|
|
#);
|
|
|
|
################################################################
|
2007-12-30 21:51:16 +00:00
|
|
|
#
|
2012-11-24 12:13:58 +00:00
|
|
|
## for PostgreSQL
|
|
|
|
################################################################
|
|
|
|
#%dbconfig= (
|
|
|
|
# connection => "Pg:database=fhem;host=localhost",
|
|
|
|
# user => "fhemuser",
|
|
|
|
# password => "fhempassword"
|
|
|
|
#);
|
|
|
|
################################################################
|
2013-02-19 19:17:03 +00:00
|
|
|
#
|
|
|
|
## for SQLite (username and password stay empty for SQLite)
|
|
|
|
################################################################
|
|
|
|
#%dbconfig= (
|
|
|
|
# connection => "SQLite:dbname=/opt/fhem/fhem.db",
|
|
|
|
# user => "",
|
|
|
|
# password => ""
|
|
|
|
#);
|
|
|
|
################################################################
|