Skip to content

Instantly share code, notes, and snippets.

@njmube
Forked from Sharabaddin/fastfix
Created April 24, 2018 20:50
Show Gist options
  • Save njmube/9e152a7e09df5b294757b1ff39b4535f to your computer and use it in GitHub Desktop.
Save njmube/9e152a7e09df5b294757b1ff39b4535f to your computer and use it in GitHub Desktop.
java.sql.SQLException: The server time zone value 'EEST' is unrecognized or represents more than one time zone
ERROR: java.sql.SQLException: The server time zone value 'EEST' 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.
SOLVE:
1. sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
2. add after line [mysqld]
default_time_zone='+03:00'
3. ctrl+o
4. ctrl+x
5. sudo service mysql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment