alibaba / alibaba/cobar

连接一直提示No database selected,但是mysql 命令行查询数据库没有问题。

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.