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

parse timezone parameter in mysql connection url #3418

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dojiong
Copy link

@dojiong dojiong commented Aug 8, 2024

Identify the timezone when parsing the url and set it by MySqlConnectOptions::timezone.

For example: mysql://user:pass@host/db?timezone=+08:00

Copy link
Contributor

@CommanderStorm CommanderStorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test case below to ensure that no regressions happen on this parameter?

@dojiong
Copy link
Author

dojiong commented Aug 8, 2024

Could you add a test case below to ensure that no regressions happen on this parameter?

Done!

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

Successfully merging this pull request may close these issues.

2 participants