- Add product landing page with hero section, stats, feature cards, database badges, comparison table, and screenshots - Register Fumadocs MDX components (Tabs, Steps, Callout, Cards, Accordions) globally - Rewrite all 17 doc pages (CN + EN) with richer content, use cases, and advanced components - Add competitive comparison table (vs DBeaver/Navicat/TablePlus) - Add ~300 lines of responsive landing page CSS
86 lines
2.2 KiB
Plaintext
86 lines
2.2 KiB
Plaintext
---
|
|
title: Database Support
|
|
description: 25+ database engines through native Rust drivers, no JDBC dependency.
|
|
---
|
|
|
|
<Callout type="info">
|
|
Native Rust drivers, no JDBC dependency. MySQL and PostgreSQL compatible databases work out of the box.
|
|
</Callout>
|
|
|
|
## Fully Supported
|
|
|
|
| Database | Driver | Protocol |
|
|
|---|---|---|
|
|
| MySQL | sqlx | MySQL |
|
|
| PostgreSQL | sqlx | PostgreSQL |
|
|
| SQLite | sqlx | Embedded |
|
|
| Redis | redis-rs | RESP |
|
|
| MongoDB | mongodb | MongoDB Wire |
|
|
| DuckDB | duckdb-rs | Embedded |
|
|
| ClickHouse | HTTP client | HTTP |
|
|
| SQL Server | tiberius | TDS |
|
|
| Oracle | oracle-rs | OCI |
|
|
| Elasticsearch | HTTP client | REST |
|
|
| DM (Dameng) | odbc-api | ODBC |
|
|
| GaussDB | rust-gaussdb | GaussDB |
|
|
|
|
## MySQL Compatible
|
|
|
|
These databases use MySQL protocol and work with the MySQL driver out of the box:
|
|
|
|
| Database | Default Port |
|
|
|---|---|
|
|
| MariaDB | 3306 |
|
|
| TiDB | 4000 |
|
|
| OceanBase | 2881 |
|
|
| GoldenDB | 3306 |
|
|
| Doris | 9030 |
|
|
| SelectDB | 9030 |
|
|
| StarRocks | 9030 |
|
|
| TDengine | 6030 |
|
|
|
|
## PostgreSQL Compatible
|
|
|
|
These databases use PostgreSQL protocol and work with the PostgreSQL driver:
|
|
|
|
| Database | Default Port |
|
|
|---|---|
|
|
| openGauss | 5432 |
|
|
| KingBase | 54321 |
|
|
| Vastbase | 5432 |
|
|
| Redshift | 5439 |
|
|
| CockroachDB | 26257 |
|
|
|
|
## ODBC Databases
|
|
|
|
DM (Dameng) connects through ODBC, which requires an ODBC driver installed on your system.
|
|
|
|
### DM (Dameng)
|
|
|
|
DM8 connects via the DM ODBC driver. Default port: **5236**, default user: **SYSDBA**.
|
|
|
|
<Tabs groupId="dm-platform" items={['Linux', 'Windows', 'macOS']}>
|
|
<Tab value="Linux">
|
|
```bash
|
|
# Install unixODBC
|
|
sudo apt install unixodbc
|
|
|
|
# Install DM8 (includes ODBC driver)
|
|
# Download from https://eco.dameng.com/download/
|
|
|
|
# Register the driver in /etc/odbcinst.ini
|
|
sudo tee -a /etc/odbcinst.ini << 'EOF'
|
|
[DM8 ODBC DRIVER]
|
|
Description = DM8 ODBC Driver
|
|
Driver = /opt/dmdbms/bin/libdodbc.so
|
|
EOF
|
|
```
|
|
</Tab>
|
|
<Tab value="Windows">
|
|
The DM8 installer automatically registers the ODBC driver. No manual configuration needed.
|
|
</Tab>
|
|
<Tab value="macOS">
|
|
DM does not provide a native macOS ODBC driver. For development/testing, DM is best accessed from Linux.
|
|
</Tab>
|
|
</Tabs>
|