GoTeamEpsilon / ctakes-rest-service

A JSON-based rest service to process unstructured clinical text through a smart natural language processing system.
Other
51 stars 33 forks source link

Exception: The server time zone value X is unrecognized #64

Closed MatthewVita closed 5 years ago

MatthewVita commented 5 years ago

If you get the following error:

java.sql.SQLException: The server time zone value 'X' 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 specific time zone value if you want to utilize time zone support.

The solution is to run the following (in MySQL command line or other) with your specific timezone:

SET GLOBAL time_zone = '+5:30';
EXIT;