diff --git a/fhem/contrib/dblog/db.conf b/fhem/contrib/dblog/db.conf index 6141687de..65c00dfb6 100644 --- a/fhem/contrib/dblog/db.conf +++ b/fhem/contrib/dblog/db.conf @@ -2,10 +2,20 @@ # database configuration file # # +## for MySQL +################################################################ +#%dbconfig= ( +# connection => "mysql:database=fhem;host=db;port=3306", +# user => "fhemuser", +# password => "fhempassword", +#); +################################################################ # -%dbconfig= ( - connection => "mysql:database=fhem;host=db;port=3306", - user => "fhemuser", - password => "fhempassword", -); - +## for PostgreSQL +################################################################ +#%dbconfig= ( +# connection => "Pg:database=fhem;host=localhost", +# user => "fhemuser", +# password => "fhempassword" +#); +################################################################ diff --git a/fhem/contrib/dblog/fhemdb_create.sql b/fhem/contrib/dblog/db_create_mysql.sql similarity index 100% rename from fhem/contrib/dblog/fhemdb_create.sql rename to fhem/contrib/dblog/db_create_mysql.sql