dblog: Konfiguriert fuer mysql auf nas
This commit is contained in:
@@ -6,31 +6,31 @@
|
||||
# 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 => ""
|
||||
#);
|
||||
####################################################################################
|
||||
## for MySQL
|
||||
################################################################
|
||||
%dbconfig= (
|
||||
connection => "mysql:database=fhem;host=nas;port=3306",
|
||||
user => "fhemuser",
|
||||
password => "fhempassword",
|
||||
# optional enable(1) / disable(0) UTF-8 support of MySQL (at least V 4.042 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 => ""
|
||||
#);
|
||||
################################################################
|
||||
|
||||
Reference in New Issue
Block a user