Skip to content

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

Open
frouioui wants to merge 1 commit intomainfrom
fix-bug-multi-mysql
Open

Create a single MySQL instance when multiple keyspaces are defined#96
frouioui wants to merge 1 commit intomainfrom
fix-bug-multi-mysql

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