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
//go:build !oci
package main
import (
"database/sql"
"database/sql/driver"
"errors"
)
// ociBuildEnabled 报告当前二进制是否包含 OCI(thick)支持:
// thin 版本(默认构建,跨平台、CGO_ENABLED=0)不包含。
func ociBuildEnabled() bool { return false }
func plDebugNativeOCINumber(string) (interface{}, error) {
return nil, errors.New("this Oracle agent build does not include OCI NUMBER support")
}
func plDebugNativeOCILobInput(plDebugLobInput, bool) (interface{}, error) {
return nil, errors.New("this Oracle agent build does not include OCI LOB support")
}
func newPLDebugOCILobOutput(bool) (*plDebugLobOutput, error) {
return nil, errors.New("this Oracle agent build does not include OCI LOB support")
}
func newPLDebugOCIClobOutput() (*plDebugClobOutput, error) {
return nil, errors.New("this Oracle agent build does not include OCI CLOB support")
}
func configurePLDebugOCIStatement(driver.Stmt) error { return nil }
func newPLDebugOCIConnector(params connectParams) (driver.Connector, error) {
return nil, errors.New("this Oracle agent build does not include OCI support")
}
// openOCIDB 在未带 `oci` 构建标记的二进制里给出明确错误。
//
// 连接级错误会原样回传前端,因此这里说明清楚该装哪个驱动,而不是抛出一个
// 难以理解的驱动缺失错误。
func openOCIDB(params connectParams) (*sql.DB, error) {
return nil, errors.New(
"this Oracle agent build does not include OCI support; install the oracle-oci driver (Windows) to use the OCI (thick) mode",
)
}