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

vttestserver: Allow override of mysql_server_version #7470

Closed
deepthi opened this issue Feb 9, 2021 · 0 comments · Fixed by #7474
Closed

vttestserver: Allow override of mysql_server_version #7470

deepthi opened this issue Feb 9, 2021 · 0 comments · Fixed by #7474

Comments

@deepthi
Copy link
Member

deepthi commented Feb 9, 2021

Feature Description

By default vtgate presents as 5.7.9-Vitess. Frameworks that are used to connect to vitess will sometimes modify the queries they send based on the MySQL version. Vtgate has a flag to allow this to be changed if desired (based on underlying MySQL version).
Right now vttestserver does not allow you to override this version so it always pretends to be 5.7.9-Vitess regardless of the embedded MySQL version.

Use Case(s)

Using vttestserver to test Vitess against MySQL 8.0

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