diff --git a/CHANGED b/CHANGED index dfdb21bcd..fd3405a83 100644 --- a/CHANGED +++ b/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - changed: 93_DBLog: V.2.21.3, commandref revised - new: 70_NEUTRINO: new modul for neutrino sat receiver - bugfix: 74_AMAD: Change Commandref - change: 93_DbLog: V2.21.2, some improvements like get reading 'state' of diff --git a/FHEM/93_DbLog.pm b/FHEM/93_DbLog.pm index be98da2e5..dc389f7d5 100644 --- a/FHEM/93_DbLog.pm +++ b/FHEM/93_DbLog.pm @@ -16,6 +16,7 @@ ############################################################################################################################################ # Versions History done by DS_Starter & DeeSPe: # +# 2.21.3 24.07.2017 commandref revised # 2.21.2 19.07.2017 changed readCfg to report more error-messages # 2.21.1 18.07.2017 change configCheck for DbRep Report_Idx # 2.21.0 17.07.2017 standard timeout increased to 86400, enhanced explaination in configCheck @@ -4451,8 +4452,13 @@ sub checkUsePK ($$){
#################################################################################### - # database configuration file - # + # 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= ( @@ -5239,9 +5245,14 @@ sub checkUsePK ($$){#################################################################################### - # database configuration file - # - ## for MySQL + # 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", diff --git a/contrib/dblog/db.conf b/contrib/dblog/db.conf index 2912cdd21..93e3c643a 100644 --- a/contrib/dblog/db.conf +++ b/contrib/dblog/db.conf @@ -1,32 +1,36 @@ +#################################################################################### +# 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 ! # -# database configuration file -# # -## for MySQL -################################################################ -#%dbconfig= ( -# connection => "mysql:database=fhem;host=db;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 => "" -#); -################################################################ +## 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 => "" +#); +####################################################################################