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

"ERROR 1046 (3D000): No database selected",preview sql can't act as nomale sql ,even though i appoint database in sql #20998

Open
wsm12138 opened this issue Sep 15, 2022 · 3 comments

Comments

@wsm12138
Copy link
Contributor

Bug Report

Which version of ShardingSphere did you use?

f44e5d3

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy

Expected behavior

preview select have same action like select

Actual behavior

image

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

  1. start proxy
  2. don't use db
  3. execute select 1 from db.table

image

Example codes for reproduce this issue (such as a github link).

@TeslaCN
Copy link
Member

TeslaCN commented Sep 30, 2022

@wsm12138 What does nomale SQL mean?

@RaigorJiang
Copy link
Contributor

I will follow up @wsm12138

@RaigorJiang RaigorJiang self-assigned this Jan 29, 2023
@github-actions github-actions bot added the stale label Jul 12, 2023
@wsm12138
Copy link
Contributor Author

I will follow up @wsm12138

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants