fix(connection): show built-in driver update hint on connection failure (#2111)

This commit is contained in:
zipg authored and GitHub committed 2026-06-30 01:52:37 +08:00
1 parent 96f265507d
commit dab1d145bc
6 files changed
+99 -28

No files matched your search

+1
View File
@@ -295,6 +295,7 @@ export default {
systemJavaNotFound: "System Java runtime was not found on PATH. Please install Java or choose a custom Java executable.",
customJavaPathEmpty: "Custom Java runtime path is empty. Please choose a Java executable.",
agentJavaTooOld: "This driver requires Java 21. Use DBX managed JRE 21 or select a Java 21 executable in Driver Manager.",
agentDriverUpdateConnectionHint: "A built-in driver update is available for this connection. The connection failure may be related to an outdated local driver. Update the corresponding driver in Driver Manager, then retry.",
jdbcPluginNotInstalled: "JDBC plugin is not installed. Install the optional JDBC plugin to use this connection.",
lastError: "Connection error",
clearError: "Clear connection error",
+1
View File
@@ -298,6 +298,7 @@ export default withEnglishFallback({
systemJavaNotFound: "未在 PATH 中找到系统 Java 运行环境,请安装 Java 或选择自定义 Java 可执行文件。",
customJavaPathEmpty: "自定义 Java 运行环境路径为空,请选择 Java 可执行文件。",
agentJavaTooOld: "该驱动需要 Java 21。请在驱动管理器中使用 DBX 托管 JRE 21,或选择 Java 21 可执行文件。",
agentDriverUpdateConnectionHint: "当前连接使用的内置驱动有可用更新,连接失败可能与本地驱动版本过旧有关。请在「驱动管理」中更新对应驱动后重试。",
jdbcPluginNotInstalled: "JDBC 插件未安装,请先安装 JDBC 插件再使用此连接。",
lastError: "连接错误",
clearError: "清除连接错误",