From 3ca30ce74fe64d5c206639efc3a3c3e56e2d3303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Wed, 24 Jun 2026 10:25:06 +0800 Subject: [PATCH] docs(nacos): add Nacos support docs and fix questdb icon --- docs/app/[lang]/databases/page.tsx | 1 + docs/app/[lang]/page.tsx | 1 + docs/content/docs/databases.cn.mdx | 12 ++++++++++-- docs/content/docs/databases.mdx | 12 +++++++++--- docs/public/icons/database/nacos.png | Bin 0 -> 1529 bytes docs/public/icons/database/nacos.svg | 11 ----------- docs/public/icons/database/questdb.svg | 25 +++++++++++++++++++++++++ 7 files changed, 46 insertions(+), 16 deletions(-) create mode 100644 docs/public/icons/database/nacos.png delete mode 100644 docs/public/icons/database/nacos.svg create mode 100644 docs/public/icons/database/questdb.svg diff --git a/docs/app/[lang]/databases/page.tsx b/docs/app/[lang]/databases/page.tsx index ab83eb47b..9fe7fe082 100644 --- a/docs/app/[lang]/databases/page.tsx +++ b/docs/app/[lang]/databases/page.tsx @@ -62,6 +62,7 @@ const databaseSupport = [ { name: "Access", icon: "/icons/database/access.png", tone: "#a53346" }, { name: "H2", icon: "/icons/database/h2.svg", tone: "#f7a81b" }, { name: "etcd", icon: "/icons/database/etcd.svg", tone: "#419eda" }, + { name: "Nacos", icon: "/icons/database/nacos.png", tone: "#2f80ed" }, { name: "IRIS", icon: "/icons/database/iris.png", tone: "#0085ca" }, { name: "JDBC", icon: "/icons/database/jdbc.svg", tone: "#6ea8ff" }, { name: "Your DB?", icon: "/icons/database/jdbc.svg", tone: "#6ea8ff", href: "https://github.com/t8y2/dbx/discussions", cta: true }, diff --git a/docs/app/[lang]/page.tsx b/docs/app/[lang]/page.tsx index 7fc3e8b46..a5e7f6108 100644 --- a/docs/app/[lang]/page.tsx +++ b/docs/app/[lang]/page.tsx @@ -115,6 +115,7 @@ const databaseSupport = [ { name: "Access", icon: "/icons/database/access.png", tone: "#a53346" }, { name: "H2", icon: "/icons/database/h2.svg", tone: "#f7a81b" }, { name: "etcd", icon: "/icons/database/etcd.svg", tone: "#419eda" }, + { name: "Nacos", icon: "/icons/database/nacos.png", tone: "#2f80ed" }, { name: "IRIS", icon: "/icons/database/iris.png", tone: "#0085ca" }, { name: "JDBC", icon: "/icons/database/jdbc.svg", tone: "#6ea8ff" }, { name: "Your DB?", icon: "/icons/database/jdbc.svg", tone: "#6ea8ff", href: "https://github.com/t8y2/dbx/discussions", cta: true }, diff --git a/docs/content/docs/databases.cn.mdx b/docs/content/docs/databases.cn.mdx index d1691bad0..042199721 100644 --- a/docs/content/docs/databases.cn.mdx +++ b/docs/content/docs/databases.cn.mdx @@ -12,7 +12,7 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能 | 分组 | 类型 | 说明 | | ------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | | 核心 SQL 数据库 | MySQL、PostgreSQL、SQLite、DuckDB、ClickHouse、SQL Server、Oracle、Redshift、DM、GaussDB、KWDB、Teradata、Vertica、Exasol、Firebird、SAP HANA、崖山 YashanDB、GBase | 直接出现在 DBX 连接选择器中 | -| 文档与键值数据库 | Redis、MongoDB、Elasticsearch、etcd | 根据数据模型使用专门浏览器或查询流程,不完全等同于关系型表格 | +| 文档、键值与配置服务 | Redis、MongoDB、Elasticsearch、etcd、Nacos | 根据数据模型使用专门浏览器、管理控制台或查询流程,不完全等同于关系型表格 | | MySQL 兼容类型 | MariaDB、TiDB、OceanBase、Doris、SelectDB、StarRocks、Manticore Search、GoldenDB、TDSQL、PolarDB、GreatSQL、自定义 MySQL | 复用 MySQL 风格连接能力 | | PostgreSQL 兼容类型 | openGauss、KingBase、HighGo、Vastbase、CockroachDB、自定义 PostgreSQL | 复用 PostgreSQL 风格连接能力 | | 文件型数据库 | SQLite、DuckDB、Microsoft Access、RQLite、Turso | 选择本地数据库文件或 HTTP 端点,不填写主机和端口 | @@ -52,6 +52,8 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能 | InfluxDB | 8086 | | IoTDB | 6667 | | etcd | 2379 | +| Nacos | 8848 | +| Nacos 控制台/admin API | 8085 | | IRIS | 1972 | | RQLite | 4001 | | H2 | 9092 | @@ -87,7 +89,7 @@ DBX 只会在具备足够元数据和 SQL 生成能力的数据库上启用高 | 创建数据库 | MySQL、PostgreSQL、SQL Server、ClickHouse、Oracle、DM、GaussDB、KWDB、Doris、StarRocks、Redshift、Teradata、Vertica | | 字段血缘 | MySQL、PostgreSQL、SQLite、SQL Server、Oracle、Redshift、DM、GaussDB、KWDB | | 数据传输 | MySQL、PostgreSQL、SQLite、SQL Server、Oracle、ClickHouse、DuckDB、DM、GaussDB、KWDB | -| 不支持 SQL 文件执行 | Redis、MongoDB、Elasticsearch、etcd | +| 不支持 SQL 文件执行 | Redis、MongoDB、Elasticsearch、etcd、Nacos | 如果某个数据库可以连接,但没有出现在某个功能行中,该功能可能会被隐藏或受限。这是为了避免 DBX 生成无法可靠审查的 SQL。 @@ -95,6 +97,12 @@ DBX 只会在具备足够元数据和 SQL 生成能力的数据库上启用高 大多数网络数据库支持主机、端口、用户名、密码、默认数据库、URL 参数、SSL、连接颜色、SSH 隧道和代理设置。文件型数据库会改为选择本地文件。 +DBX 也可以解析常见连接 URL,例如 MySQL、PostgreSQL、Redis、MongoDB、ClickHouse、SQL Server、Oracle、Elasticsearch、DM、GaussDB、KWDB、openGauss、TDengine、XuguDB、Access、Teradata、Vertica、Firebird、Exasol、GBase、YashanDB、SAP HANA、InfluxDB、QuestDB、IoTDB、etcd、Nacos、RQLite 和 Databricks。 + +### Nacos 控制台 + +Nacos 连接会打开专用管理控制台,用于管理命名空间、配置、服务、实例、配置历史和 Raw API 请求。创建连接时请填写 Nacos 控制台/admin API 地址。Nacos 3 Docker 部署通常使用 `8085` 暴露控制台;旧版本也可能与服务端口共用 `8848`。 + ### ClickHouse TLS ClickHouse 连接支持 TLS 加密。创建 ClickHouse 连接时,启用 TLS 开关即可通过 HTTPS 而非 HTTP 进行连接。建议对生产环境的 ClickHouse 实例或 ClickHouse Cloud 部署启用此选项。 diff --git a/docs/content/docs/databases.mdx b/docs/content/docs/databases.mdx index 4a7ea6a9e..7e3a8219a 100644 --- a/docs/content/docs/databases.mdx +++ b/docs/content/docs/databases.mdx @@ -12,7 +12,7 @@ The connection dialog exposes ready-to-use profiles with default ports and drive | Group | Profiles | Notes | | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | Core SQL engines | MySQL, PostgreSQL, SQLite, DuckDB, ClickHouse, SQL Server, Oracle, Redshift, DM, GaussDB, KWDB, Teradata, Vertica, Exasol, Firebird, SAP HANA, YashanDB, GBase | Available directly in the DBX connection picker | -| Document and key-value engines | Redis, MongoDB, Elasticsearch, etcd | Use dedicated browsers or query flows instead of the generic relational grid where appropriate | +| Document, key-value, and config services | Redis, MongoDB, Elasticsearch, etcd, Nacos | Use dedicated browsers, admin consoles, or query flows instead of the generic relational grid where appropriate | | MySQL-compatible profiles | MariaDB, TiDB, OceanBase, Doris, SelectDB, StarRocks, Manticore Search, GoldenDB, TDSQL, PolarDB, GreatSQL, custom MySQL | Reuse MySQL-style connection handling where the engine speaks a compatible protocol | | PostgreSQL-compatible profiles | openGauss, KingBase, HighGo, Vastbase, CockroachDB, custom PostgreSQL | Reuse PostgreSQL-style connection handling where the engine speaks a compatible protocol | | File-based engines | SQLite, DuckDB, Microsoft Access, RQLite, Turso | Choose a local database file or HTTP endpoint instead of host and port | @@ -52,6 +52,8 @@ The connection dialog exposes ready-to-use profiles with default ports and drive | InfluxDB | 8086 | | IoTDB | 6667 | | etcd | 2379 | +| Nacos | 8848 | +| Nacos console/admin API | 8085 | | IRIS | 1972 | | RQLite | 4001 | | H2 | 9092 | @@ -87,7 +89,7 @@ DBX intentionally enables advanced workflows only where the app has enough metad | Create database | MySQL, PostgreSQL, SQL Server, ClickHouse, Oracle, DM, GaussDB, KWDB, Doris, StarRocks, Redshift, Teradata, Vertica | | Field lineage | MySQL, PostgreSQL, SQLite, SQL Server, Oracle, Redshift, DM, GaussDB, KWDB | | Data transfer | MySQL, PostgreSQL, SQLite, SQL Server, Oracle, ClickHouse, DuckDB, DM, GaussDB, KWDB | -| SQL file execution unavailable | Redis, MongoDB, Elasticsearch, etcd | +| SQL file execution unavailable | Redis, MongoDB, Elasticsearch, etcd, Nacos | If a database can connect but does not appear in a feature row, that feature may be hidden or limited for that engine. This prevents DBX from generating SQL it cannot review reliably. @@ -95,7 +97,11 @@ DBX intentionally enables advanced workflows only where the app has enough metad Most network databases support host, port, username, password, default database, optional URL parameters, SSL, connection color, SSH tunnel, and proxy settings. File-based engines replace host and port with a file picker. -DBX can also parse common connection URLs for engines such as MySQL, PostgreSQL, Redis, MongoDB, ClickHouse, SQL Server, Oracle, Elasticsearch, DM, GaussDB, KWDB, openGauss, TDengine, XuguDB, Access, Teradata, Vertica, Firebird, Exasol, GBase, YashanDB, SAP HANA, InfluxDB, QuestDB, IoTDB, etcd, RQLite, and Databricks. +DBX can also parse common connection URLs for engines such as MySQL, PostgreSQL, Redis, MongoDB, ClickHouse, SQL Server, Oracle, Elasticsearch, DM, GaussDB, KWDB, openGauss, TDengine, XuguDB, Access, Teradata, Vertica, Firebird, Exasol, GBase, YashanDB, SAP HANA, InfluxDB, QuestDB, IoTDB, etcd, Nacos, RQLite, and Databricks. + +### Nacos Console + +Nacos connections open a dedicated admin console for namespaces, configs, services, instances, config history, and raw API requests. Use the Nacos console/admin API address when creating the connection. Nacos 3 Docker deployments usually expose that console on `8085`; older deployments may share `8848` with the service port. ### ClickHouse TLS diff --git a/docs/public/icons/database/nacos.png b/docs/public/icons/database/nacos.png new file mode 100644 index 0000000000000000000000000000000000000000..0d7626a5144e49a00446304fb8f34f40d06202d7 GIT binary patch literal 1529 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+yeRz^suO5>XQ2>tmIipR1RclAn~S zSCLx)lxJYDv9BmdOwLX%QAkQn&&;z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/icons/database/nacos.svg b/docs/public/icons/database/nacos.svg deleted file mode 100644 index 95a64a8c6..000000000 --- a/docs/public/icons/database/nacos.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/docs/public/icons/database/questdb.svg b/docs/public/icons/database/questdb.svg new file mode 100644 index 000000000..48bff1499 --- /dev/null +++ b/docs/public/icons/database/questdb.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + +