Asystent AI
Problem z połączeni...
 
Powiadomienia
Wyczyść wszystko

[Rozwiązany] Problem z połączeniem do bazy mysql

2 Wpisów
1 Użytkownicy
1 Reactions
1,463 Wyświetleń
(@gslabik)
Wpisów: 7
Bywalec
Autor tematu
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#1101]

Serwer stoi na linux debian 9 + mysql-server.

persistence-mysql - 1.13.0

taki błąd w logu:

2019-09-02 21:09:35.005 [ERROR] [sql.internal.MysqlPersistenceService] - mySQL: Failed connecting to the SQL database using: driverClass=com.mysql.jdbc.Driver, url=jdbc:mysql://127.0.0.1:3306/OpenHAB, user=openhab
java.sql.SQLException: The server time zone value 'CEST' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

Strefy czasowe w linuxie jak i openhab te same.

Ktoś miał podobny problem?


 
Dodane : 02/09/2019 9:13 pm
(@gslabik)
Wpisów: 7
Bywalec
Autor tematu
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Temat rozwiązany, dla zainteresowanych, strefa w mysql:

mysql>SET GLOBAL time_zone = '+1:00';

Pozdrawiam.


 
Dodane : 04/09/2019 8:32 am
adrian zareagował
Udostępnij: