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
import type { ConnectionConfig } from "@/types/database";
/**
* The SunDB (科蓝 SUNDB) Agent bundles the vendor JDBC driver (vendored under
* `agents/drivers/sundb/libs/`), so an empty `jdbc_driver_paths` resolves the
* driver class on the Agent's own classpath. Callers may still point a
* connection at a newer vendor JAR, which the Agent then loads in an isolated
* URLClassLoader instead.
*/
export const SUNDB_DEFAULT_JDBC_DRIVER_CLASS = "csii.sundb.jdbc.SundbDriver";
type SundbDriverConfig = Partial<Pick<ConnectionConfig, "jdbc_driver_class">>;
export function sundbJdbcDriverClass(config: SundbDriverConfig): string {
return config.jdbc_driver_class?.trim() || SUNDB_DEFAULT_JDBC_DRIVER_CLASS;
}