MySQL Forums
Forum List  »  Newbie

Re: Set global_time_zone for mysql server by start
Posted by: jürgen helmdach
Date: April 10, 2019 06:47AM

Hi Peter,
the correct answer isn't not only a word, but with a record it's goes:

"In the mysqld.cnf - file works an entry (/etc/mysql/mysql.conf.d):
default-time-zone = 'Europe/Berlin'
" end of record.

After restart the server is the time_zone of the server 'Europe/Berlin' and the JDBC-Connector works.

The problem is that the sysntax in the cnf-file is different to the names of the variables.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.