From 0729ab5a7cd55a4b31e4b05f6db031aa4789312a Mon Sep 17 00:00:00 2001 From: Marc Hoppe Date: Mon, 19 Sep 2016 08:44:37 +0200 Subject: [PATCH] dblog: Konfiguriert fuer mysql auf nas --- fhem/contrib/dblog/db.conf | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/fhem/contrib/dblog/db.conf b/fhem/contrib/dblog/db.conf index 93e3c643a..aa1c51f67 100644 --- a/fhem/contrib/dblog/db.conf +++ b/fhem/contrib/dblog/db.conf @@ -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 => "" +#); +################################################################