thorsten
(Thorsten)
June 12, 2019, 5:24am
1
NethServer Version: 7
Module: Maria Db
Hi,
I have some trouble to access existing databases using OpenOffice.
Connection within Nethserver (via php) runs fine
Network service is open to green
access from the same laptop, e.g. using HeidiSQL client runs fine, connection work
-> Openoffice shows the following error message:
Different sources read that the list of time zones within the server need to be updated. Are there any experiences on that?
THX
Thorsten
dnutan
(Marc)
June 12, 2019, 7:48am
2
You may need to pass additional parameters with the connection string:
mysql, jdbc
https://ask.libreoffice.org/en/question/154384/base-connect-mysql-jdbc-timezone-error/
Example:
?useLegacyDatetimeCode=false&serverTimezone=Europe/Berlin
…or whichever correct timezone suits
1 Like
thorsten
(Thorsten)
June 12, 2019, 8:09pm
3
Fairly complicated and not very nice … but it works…
Thank you. But maybe there is some way to solve on the server side?
dnutan
(Marc)
June 12, 2019, 9:11pm
4
Maybe it’s possible to handle it. Here some info:
https://bugs.mysql.com/bug.php?id=85816
set your server with a non DST aware time zone, such as UTC, and then let all adjustments be made between the client(s) time zone and this neutral time zone.
mysql, time, utc