diff --git a/fhem/CHANGED b/fhem/CHANGED
index 98467bb08..3e7e23429 100644
--- a/fhem/CHANGED
+++ b/fhem/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.
+ - change: 93_DbLog: edit Commandref Forum:#135204
- feature: 76_SolarForecast: new Attr graphicHeaderOwnspec, minor fixes
- change: 76_SMAInverter: add BAT_P_Charge/Discarge
- change: 74_AutomowerConnect: Commandref update
diff --git a/fhem/FHEM/93_DbLog.pm b/fhem/FHEM/93_DbLog.pm
index fff3df2ce..eafe255d8 100644
--- a/fhem/FHEM/93_DbLog.pm
+++ b/fhem/FHEM/93_DbLog.pm
@@ -1,6 +1,6 @@
-############################################################################################################################################
+##############################################################################################################################
# $Id$
-#
+##############################################################################################################################
# 93_DbLog.pm
# written by Dr. Boris Neubert 2007-12-30
# e-mail: omega at online dot de
@@ -12,12 +12,29 @@
# e-mail: heiko dot maaz at t-online dot de
#
# reduceLog() created by Claudiu Schuster (rapster) adapted by DS_Starter
+#
+# This script is part of fhem.
#
-############################################################################################################################################
+# Fhem is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# Fhem is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with fhem. If not, see
For the connection to the database a configuration file is used.
- The configuration is stored in a separate file to avoid storing the password in the main configuration file and to have it
- visible in the output of the list command.
+ The configuration file is copied e.g. to /opt/fhem and has the structure shown below.
+ The specifications are to be adapted according to the used environment (uncomment and change corresponding lines):
- The configuration file should be copied e.g. to /opt/fhem and has the following structure you have to customize
- suitable to your conditions (decomment the appropriate raws and adjust it):
-
####################################################################################
# database configuration file
@@ -8816,6 +8831,8 @@ return;
####################################################################################
#%dbconfig= (
# connection => "mysql:database=fhem;host=<database host>;port=3306",
+ # # if want communication over socket-file instead of TCP/IP transport, use:
+ # # connection => "mysql:database=fhem;mysql_socket=</patch/socket-file>",
# user => "fhemuser",
# password => "fhempassword",
# # optional enable(1) / disable(0) UTF-8 support
@@ -10656,14 +10673,10 @@ attr SMA_Energymeter DbLogValueFn
enthalten.
Für die Verbindung zur Datenbank wird eine Konfigurationsdatei verwendet.
- Die Konfiguration ist in einer sparaten Datei abgelegt um das Datenbankpasswort nicht in Klartext in der
- FHEM-Haupt-Konfigurationsdatei speichern zu müssen.
- Ansonsten wäre es mittels des list Befehls einfach auslesbar.
+ Die Konfigurationsdatei wird z.B. nach /opt/fhem kopiert und hat den nachfolgend dargestellten Aufbau.
+ Die Angaben sind entsprechend der verwendeten Umgebung anzupassen (entsprechende Zeilen entkommentieren und ändern):
- Die Konfigurationsdatei wird z.B. nach /opt/fhem kopiert und hat folgenden Aufbau, den man an seine Umgebung
- anpassen muß (entsprechende Zeilen entkommentieren und anpassen):
-
####################################################################################
# database configuration file
@@ -10677,6 +10690,8 @@ attr SMA_Energymeter DbLogValueFn
####################################################################################
#%dbconfig= (
# connection => "mysql:database=fhem;host=<database host>;port=3306",
+ # # if want communication over socket-file instead of TCP/IP transport, use:
+ # # connection => "mysql:database=fhem;mysql_socket=</patch/socket-file>",
# user => "fhemuser",
# password => "fhempassword",
# # optional enable(1) / disable(0) UTF-8 support