dbx
dbx copied to clipboard
[Bug] 本地Docker运行的Mysql8.4.5,Navicat可以正常链接,DBX测试连接成功.但是打不开
提交前确认
- [x] 我已搜索现有 issues,确认没有重复反馈。
- [x] 我已尝试使用最新版本或当前 main 分支复现。
- [x] 我提供的信息中不包含真实密码、Token、私钥或生产数据。
问题模块
连接管理
数据库类型
MySQL
数据库版本
MySQL 8.4.5(Docker)
连接方式
直连
问题描述
L站看到的佬友的推广贴,于是下载了个来试试. 但是很不幸,上来就翻车了啊. 具体的情况就如图所示. 1.正常从Realeases下载软件打开 2.新建连接.测试也提示成功 3.保存完之后.点击打开,就一直在那转圈.从开始转到我写这个Issue,很久了还是那样 4.我用Navicat是可以正常链接的.
复现步骤
如上面的描述
期望行为
能正常连上啊
实际行为
算是无响应吧
最小复现 SQL / 数据结构
错误日志 / 截图
DBX 版本 / Commit
0.1.0
操作系统
macOS Apple Silicon
补充信息
No response
Thanks for the detailed report! This has been fixed in v0.1.1.
Root Cause
MySQL 8.x returns VARBINARY type for metadata queries (e.g. SHOW DATABASES), but the driver was reading it as VARCHAR, causing a type mismatch that made the connection hang silently.
Fix
- Switched metadata queries to use
information_schemawith proper type handling - Added fallback from
StringtoVec<u8>→Stringconversion for all MySQL metadata functions
Please update to v0.1.1 and let me know if it works for you.