We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to run skeema init against vtgate, I get the following error:
skeema init
ERROR 1049 (42000): vtgate: http://user-ThinkPad-X1-Carbon-7th:9997/: Unknown database 'information_schema' (errno 1049) (sqlstate 42000)
This is because vtgate is looking for a keyspace in the vschema named information_schema:
information_schema
https://github.com/vitessio/vitess/blob/2eb5d64406a438467f17710e822d2852b37526ba/go/vt/vtgate/vcursor_impl.go#L454
and the fact the skeema wants to connect directly to information_schema:
https://github.com/skeema/skeema/blob/c3469f0286dd269ac43158befc39927f9fc061a8/vendor/github.com/skeema/tengo/instance.go#L783
The minimal way to reproduce this is:
mysql --host 127.0.0.1 --port 10000 information_schema
where 10000 is the port vtgate is listening on.
10000
The text was updated successfully, but these errors were encountered:
show databases
infromation_schema
systay
harshit-gangal
Successfully merging a pull request may close this issue.
Reproduction Steps
When trying to run
skeema init
against vtgate, I get the following error:This is because vtgate is looking for a keyspace in the vschema named
information_schema
:and the fact the skeema wants to connect directly to
information_schema
:The minimal way to reproduce this is:
where
10000
is the port vtgate is listening on.The text was updated successfully, but these errors were encountered: