Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When hitting the running service, get sql error #75

Open
demongolem opened this issue Apr 7, 2020 · 2 comments
Open

When hitting the running service, get sql error #75

demongolem opened this issue Apr 7, 2020 · 2 comments

Comments

@demongolem
Copy link

demongolem commented Apr 7, 2020

I get the error:

Caused by: com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value 'EDT' 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.

when trying to hit the service when running in Tomcat.

From scanning the web, I see that a mere addition to the jdbc string can fix this. Is there a fix that can be applied for this?

I have running on Ubuntu 18.04 and I see the following:

Time zone: America/New_York (EDT, -0400)

@MatthewVita
Copy link
Member

Hi @demongolem,

This issue was brought up here: #43 (comment)

Please see the comments there. I'm not on a computer with this solution running, but I think that conversation will help you.

@demongolem
Copy link
Author

I was looking and looking for where the jdbc string was to adjust it. Took me way too long, but yes the comment in #43 is exactly the same problem.

My mistake was that I was just blindly going through the README step-by-step for the installation process. It was also weird because I did not run into this issue on the original install but at a point later in time.

The one thing I ask before this one is closed, can you adjust README.md with this information? Obviously the user has to set the timezone to their own preferences, but just show the new user how to do it when they are installing the Tomcat web app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants