wp.jochen.hayek.name/blog-en

MySQL / MariaDB and “CEST” as server time zone value

My Synology DS713+ had a couple of package updates, MariaDB being one of them.

I am running hibiscus-server, which has its own database on a MariaDB (MySQL) server there.

On restarting that hibiscus server the connection to the MariaDB server keeps failing:

detected error: java.rmi.RemoteException: connection to database.jdbc:mysql://localhost:3306/hibiscus?useUnicode=Yes&characterEncoding=ISO8859_1 failed; nested exception is:
 
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.

Looks like I have to investigate the problem with the server time zone.

I will keep watching my $HOME/.jameica/jameica.log .

Update 2017-04-26:

This article helped me reconnecting to my database:

The connection string suggested there looks like this:

The part in bold font got added.

I had to modify my connection string within this configuration file:

I appended the bold part shown above to the hibiscus connection string.

CAVEAT: The “=” signs need quoting – as already being done for other pieces within the old connection string.

Exit mobile version