25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix: add hint for missing H2 driver installation in connection dialog
t8y2d897603dd5d8
diff --git a/apps/desktop/src/components/connection/ConnectionDialog.vue b/apps/desktop/src/components/connection/ConnectionDialog.vueindex 180dbcd54b..5a8d2cfbb0 100644--- a/apps/desktop/src/components/connection/ConnectionDialog.vue+++ b/apps/desktop/src/components/connection/ConnectionDialog.vue@@ -1101,6 +1101,7 @@ const etcdEndpointsLines = computed({});const canUseTransportLayers = computed(() => form.value.db_type !== "sqlite" && form.value.db_type !== "access" && !isH2FileMode.value);const shouldShowAgentDriverInstallHint = computed(() => showAgentDriverInstallHint(form.value.db_type, agentDrivers.value, form.value.driver_profile));+const h2DriverMissing = computed(() => form.value.db_type === "h2" && isH2FileMode.value && agentDrivers.value.find((d) => d.db_type === "h2")?.installed !== true);const canChooseVisibleDatabases = computed(() => connectionCanChooseVisibleDatabases(form.value));const hasVisibleDatabaseFilter = computed(() => Array.isArray(form.value.visible_databases));const visibleDatabaseSummary = computed(() => {@@ -2441,6 +2442,14 @@ function openExternalUrl(url: string) {</div></div>+ <div v-if="h2DriverMissing" class="grid grid-cols-4 items-center gap-4">+ <span />+ <p class="col-span-3 text-xs text-muted-foreground">+ {{ t("connection.driverInstallHintPrefix") }}<a class="underline cursor-pointer text-primary hover:text-primary/80" @click="emit('openDriverStore')">{{ t("toolbar.driverManager") }}</a+ >{{ t("connection.driverInstallHintSuffix") }}+ </p>+ </div>+<!-- JDBC: optional external plugin --><template v-if="form.db_type === 'jdbc'"><div class="grid grid-cols-4 items-center gap-4">