docs: migrate from VitePress to Fumadocs (Next.js)
- Replace VitePress with Fumadocs + Next.js for documentation site - Configure i18n (English + 简体中文) with language switcher - Migrate all 17 guide documents to MDX format with updated content - Add ocean theme, GitHub/Discord/QQ social links - Update GitHub Actions workflow for Next.js static export - Update .gitignore for .next, out, .source directories
This commit is contained in:
1 parent
97eeab2801
commit
6a5a380fdd
65 files changed
+4647
-3452
No files matched your search
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: 数据库支持
|
||||
description: DBX 通过 Rust 原生驱动支持 25+ 种数据库。
|
||||
---
|
||||
|
||||
DBX 通过 Rust 原生驱动支持 25+ 种数据库。
|
||||
|
||||
## 完整支持
|
||||
|
||||
| 数据库 | 驱动 | 协议 |
|
||||
|---|---|---|
|
||||
| MySQL | sqlx | MySQL |
|
||||
| PostgreSQL | sqlx | PostgreSQL |
|
||||
| SQLite | sqlx | 嵌入式 |
|
||||
| Redis | redis-rs | RESP |
|
||||
| MongoDB | mongodb | MongoDB Wire |
|
||||
| DuckDB | duckdb-rs | 嵌入式 |
|
||||
| ClickHouse | HTTP client | HTTP |
|
||||
| SQL Server | tiberius | TDS |
|
||||
| Oracle | oracle-rs | OCI |
|
||||
| Elasticsearch | HTTP client | REST |
|
||||
|
||||
## MySQL 兼容
|
||||
|
||||
以下数据库使用 MySQL 协议,通过 MySQL 驱动连接:
|
||||
|
||||
| 数据库 | 默认端口 |
|
||||
|---|---|
|
||||
| MariaDB | 3306 |
|
||||
| TiDB | 4000 |
|
||||
| OceanBase | 2881 |
|
||||
| GoldenDB | 3306 |
|
||||
| Doris | 9030 |
|
||||
| SelectDB | 9030 |
|
||||
| StarRocks | 9030 |
|
||||
| TDengine | 6030 |
|
||||
|
||||
## PostgreSQL 兼容
|
||||
|
||||
以下数据库使用 PostgreSQL 协议,通过 PostgreSQL 驱动连接:
|
||||
|
||||
| 数据库 | 默认端口 | 备注 |
|
||||
|---|---|---|
|
||||
| openGauss | 5432 | |
|
||||
| GaussDB | 5432 | |
|
||||
| KingBase(人大金仓) | 54321 | |
|
||||
| Vastbase | 5432 | |
|
||||
| Redshift | 5439 | |
|
||||
| CockroachDB | 26257 | |
|
||||
| DM(达梦) | 5236 | 需开启 PG 兼容模式 |
|
||||
|
||||
**达梦数据库说明:** 达梦数据库需要开启 PG 兼容模式。在 `dm.ini` 中设置 `COMPATIBLE_MODE=7` 并重启服务。
|
||||
Reference in new issue
Block a user