mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
9ba421fe12
git-svn-id: https://svn.fhem.de/fhem/trunk@14779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
37 lines
2.1 KiB
Plaintext
37 lines
2.1 KiB
Plaintext
####################################################################################
|
|
# database configuration file
|
|
#
|
|
# NOTE:
|
|
# If you don't use a value for user / password please delete the leading hash mark
|
|
# and write 'user => ""' respectively 'password => ""' instead !
|
|
#
|
|
#
|
|
## for MySQL
|
|
####################################################################################
|
|
#%dbconfig= (
|
|
# connection => "mysql:database=fhem;host=db;port=3306",
|
|
# user => "fhemuser",
|
|
# password => "fhempassword",
|
|
# # optional enable(1) / disable(0) UTF-8 support (at least V 4.042 is necessary)
|
|
# utf8 => 1
|
|
#);
|
|
####################################################################################
|
|
#
|
|
## for PostgreSQL
|
|
####################################################################################
|
|
#%dbconfig= (
|
|
# connection => "Pg:database=fhem;host=localhost",
|
|
# user => "fhemuser",
|
|
# password => "fhempassword"
|
|
#);
|
|
####################################################################################
|
|
#
|
|
## for SQLite (username and password stay empty for SQLite)
|
|
####################################################################################
|
|
#%dbconfig= (
|
|
# connection => "SQLite:dbname=/opt/fhem/fhem.db",
|
|
# user => "",
|
|
# password => ""
|
|
#);
|
|
####################################################################################
|