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

Support select DATABASE(), USER() limit 1 in MySQL module without any backend #4396

Closed
renecannao opened this issue Dec 7, 2023 · 0 comments · Fixed by #4427
Closed

Support select DATABASE(), USER() limit 1 in MySQL module without any backend #4396

renecannao opened this issue Dec 7, 2023 · 0 comments · Fixed by #4427

Comments

@renecannao
Copy link
Contributor

It seems that MySQL 8 client issues select DATABASE(), USER() limit 1 when running \s , forcing to have a backend connection.

We are already handling select DATABASE(), USER() limit 1 in Admin and Clickhouse: we need to handle it also on MySQL module without the need of any backend.

renecannao added a commit that referenced this issue Jan 18, 2024
Handles special queries executed by the STATUS command in mysql cli .
Specifically:
- "select DATABASE(), USER() limit 1"
- "select @@character_set_client, @@character_set_connection, @@character_set_server, @@character_set_database limit 1"

Closes #4396
Closes #4426
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 a pull request may close this issue.

1 participant