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

Different server_version per port #4784

Draft
wants to merge 7 commits into
base: v2.7
Choose a base branch
from

Conversation

raghunandanbhat
Copy link

fixes #4548

  • Parse mysql-server_version from config file and/or from the update query after proxysql start
  • Apply server_version based on connection
  • Unit tests

- Allows proxysql to advertise multipler server_versions.
- Allows client to connect to a specific server_version based in its interface/port.
- Supports JSON string to mention interface/port to server_version.
- parse JSON and store the interface/port - server_version mapping in an unordered map.
- fetch server_version based on interface/port
- fallback to existing functionality when server version is not JSON.
@mirostauder
Copy link
Collaborator

Can one of the admins verify this patch?

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.

Different server_version per port
2 participants