Skip to content

fix(mysql): add TLS failure hint#2610

Merged
t8y2 merged 2 commits into
t8y2:mainfrom
zipg:codex/issue2586-mysql-tls-hints
Jul 6, 2026
Merged

fix(mysql): add TLS failure hint#2610
t8y2 merged 2 commits into
t8y2:mainfrom
zipg:codex/issue2586-mysql-tls-hints

Conversation

@zipg

@zipg zipg commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

变更说明

  • 在 MySQL 非“禁用”TLS 模式下,如果连接失败信息像 TLS/SSL/证书/握手问题,则追加操作提示:编辑连接并将 TLS 模式改为“禁用”后重试。
  • 该提示接入测试连接、保存后自动连接、侧边栏实际连接失败的错误路径。
  • 补齐多语言文案,并新增单测覆盖应提示和不应提示的场景。

验证

  • pnpm test apps/desktop/src/lib/connection/__tests__/connectionErrorHints.spec.ts
  • pnpm typecheck
  • pnpm lint
  • git diff --check

基于 main 已有的 MySQL 默认禁用 TLS 修复做补充,关联 #2586

@t8y2 t8y2 merged commit 95397f7 into t8y2:main Jul 6, 2026
8 checks passed
@t8y2

t8y2 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Thanks for the contribution! Merged in 95397f7, will be released in the next version.

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 this pull request may close these issues.

2 participants