连接一直提示No database selected,但是mysql 命令行查询数据库没有问题。
Open
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
ERROR: An error occurred while trying to make a connection to the
database:
JDBC URL: jdbc:mysql://192.168.**.**:8066/
No database selected
Contributor guide
Research direction
Start by reproducing the connection using the reported JDBC URL, jdbc:mysql://192.168.**.**:8066/, and compare it with the working MySQL command-line connection. Trace the proxy's database-selection handling to determine what connection information is missing or interpreted differently; done means the connection succeeds with an explicitly identified database or the required configuration is clearly reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100