-
Notifications
You must be signed in to change notification settings - Fork 328
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
the timezone parameter in jdbc url is not used #3887
Comments
From the MySQL connector doc: https://dev.mysql.com/doc/connector-j/en/connector-j-connp-props-datetime-types-processing.html
So the correct URL is The connection option 'serverTimezone' is an alias of After setting as above, the JDBC driver sends |
According to https://dev.mysql.com/doc/refman/8.3/en/set-variable.html
So |
#4064 should close this issue? cc @killme2008 @MichaelScofield |
Wait for GreptimeTeam/docs#988 |
What type of bug is this?
User Experience
What subsystems are affected?
Frontend
Minimal reproduce step
create table:
then insert data:
then execute:
What did you expect to see?
the right (+8 timezone) date time: "2024-05-08 08:00:00"
What did you see instead?
utc date time: "2024-05-08T00:00"
What operating system did you use?
macos
What version of GreptimeDB did you use?
main
Relevant log output and stack trace
No response
The text was updated successfully, but these errors were encountered: