Hello
My Openhab 2.5 is running in a Docker on a Debian server.
MariaDB runs directly on the Server.
My Docker Openhab can’t connect to SQL, but a local installed Openhab can connect with the same jdbc.cfg
jdbc.cfg:
url=jdbc:mariadb://192.168.0.249:3306/smarthome?serverTimezone=Europe/Vienna
user=smarthome
password=xxxxxxxxxxx
Log Error:
2019-10-10 05:48:57.225 [WARN ] [jdbc.internal.JdbcPersistenceService] - JDBC::store: No connection to database. Cannot persist item ‘SensorSZLUMI_Humidity (Type=NumberItem, State=38.16)’! Will retry connecting to database when error count:0 equals errReconnectThreshold:3
SQL binding address is 0.0.0.0
SQL User = smarthome@% with all rights for DB
So how can i find the error?
Thanks