Skip to content

Create a single MySQL instance when multiple keyspaces are defined #96

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

frouioui
Copy link
Member

@frouioui frouioui commented Apr 3, 2025

Fixes a bug where multiple MySQL processes where created when multiple keyspaces are defined, instead of creating a single process.

This led to issues like this:

Unknown database 'customer' (errno 1049) (sqlstate 42000) during query: use customer

When running:

./go/test/endtoend/vtgate/vitess_tester/two_sharded_keyspaces/vschema.json ./go/test/endtoend/vtgate/vitess_tester/two_sharded_keyspaces/queries.test

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
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.

1 participant