Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

fix(docs): render connection import step headings

t8y256cacd044143
diff --git a/docs/content/docs/connection-import.cn.mdx b/docs/content/docs/connection-import.cn.mdx
index e13c1601be..240d1f17ef 100644
--- a/docs/content/docs/connection-import.cn.mdx
+++ b/docs/content/docs/connection-import.cn.mdx
@@ -18,28 +18,88 @@ DBX 可以从其他数据库工具导入连接,在切换工具时无需手动
## 导入 Navicat 连接
<Steps>
- <Step>### 从 Navicat 导出 在 Navicat 中,选择要迁移的连接。使用**文件 → 导出连接**并保存 `.ncx` 文件。</Step>
- <Step>### 打开导入对话框 在 DBX 中,前往**设置 → 导入连接**,或右键点击侧边栏分组标题选择**导入连接**。</Step>
- <Step>### 选择 NCX 文件 选择从 Navicat 导出的 `.ncx` 文件。</Step>
- <Step>### 检查并完成 DBX 解析文件并列出所有找到的连接。检查列表,在需要处重新输入密码并保存。</Step>
+ <Step>
+ ### 从 Navicat 导出
+
+ 在 Navicat 中,选择要迁移的连接。使用**文件 → 导出连接**并保存 `.ncx` 文件。
+
+ </Step>
+ <Step>
+ ### 打开导入对话框
+
+ 在 DBX 中,前往**设置 → 导入连接**,或右键点击侧边栏分组标题选择**导入连接**。
+
+ </Step>
+ <Step>
+ ### 选择 NCX 文件
+
+ 选择从 Navicat 导出的 `.ncx` 文件。
+
+ </Step>
+ <Step>
+ ### 检查并完成
+
+ DBX 解析文件并列出所有找到的连接。检查列表,在需要处重新输入密码并保存。
+
+ </Step>
</Steps>
## 导入 DBeaver 连接
<Steps>
- <Step>### 找到 DBeaver 配置 DBeaver 将连接存储在其工作区目录中。具体路径取决于操作系统和 DBeaver 版本。常见位置包括 `~/.local/share/DBeaverData/workspace6/General/.dbeaver/`。</Step>
- <Step>### 打开导入对话框 在 DBX 中,前往**设置 → 导入连接**。</Step>
- <Step>### 选择 DBeaver 文件 选择 DBeaver 连接配置文件(`.dbeaver-data-sources.xml` 或类似文件)。</Step>
- <Step>### 检查并完成 DBX 从配置中提取连接信息。重新输入无法解密的密码。</Step>
+ <Step>
+ ### 找到 DBeaver 配置
+
+ DBeaver 将连接存储在其工作区目录中。具体路径取决于操作系统和 DBeaver 版本。常见位置包括 `~/.local/share/DBeaverData/workspace6/General/.dbeaver/`。
+
+ </Step>
+ <Step>
+ ### 打开导入对话框
+
+ 在 DBX 中,前往**设置 → 导入连接**。
+
+ </Step>
+ <Step>
+ ### 选择 DBeaver 文件
+
+ 选择 DBeaver 连接配置文件(`.dbeaver-data-sources.xml` 或类似文件)。
+
+ </Step>
+ <Step>
+ ### 检查并完成
+
+ DBX 从配置中提取连接信息。重新输入无法解密的密码。
+
+ </Step>
</Steps>
## 导入 DataGrip 连接
<Steps>
- <Step>### 选择配置 在 DBX 中选择**导入 DataGrip**,再选择 DataGrip 项目或全局配置中的 `dataSources.xml`;同目录的 local 配置会用于补充字段。</Step>
- <Step>### 检查类型识别 DBX 会结合 driver reference、数据库产品名、JDBC subprotocol 和驱动类识别数据库。KingBase 等数据库会映射到对应 DBX profile,未知驱动保留为通用 JDBC。</Step>
- <Step>### 检查分组 DataGrip 的分组路径会导入为 DBX 连接分组,方便保留项目组织方式。</Step>
- <Step>### 补充凭据 macOS 上 DBX 会在允许时读取 DataGrip 钥匙串密码;其它加密或不可访问的凭据仍需手动填写。</Step>
+ <Step>
+ ### 选择配置
+
+ 在 DBX 中选择**导入 DataGrip**,再选择 DataGrip 项目或全局配置中的 `dataSources.xml`;同目录的 local 配置会用于补充字段。
+
+ </Step>
+ <Step>
+ ### 检查类型识别
+
+ DBX 会结合 driver reference、数据库产品名、JDBC subprotocol 和驱动类识别数据库。KingBase 等数据库会映射到对应 DBX profile,未知驱动保留为通用 JDBC。
+
+ </Step>
+ <Step>
+ ### 检查分组
+
+ DataGrip 的分组路径会导入为 DBX 连接分组,方便保留项目组织方式。
+
+ </Step>
+ <Step>
+ ### 补充凭据
+
+ macOS 上 DBX 会在允许时读取 DataGrip 钥匙串密码;其它加密或不可访问的凭据仍需手动填写。
+
+ </Step>
</Steps>
## 导入后
diff --git a/docs/content/docs/connection-import.mdx b/docs/content/docs/connection-import.mdx
index 1a8207df85..f90e1803d6 100644
--- a/docs/content/docs/connection-import.mdx
+++ b/docs/content/docs/connection-import.mdx
@@ -18,28 +18,88 @@ DBX can import connections from other database tools, saving you from manually r
## Import Navicat Connections
<Steps>
- <Step>### Export from Navicat In Navicat, select the connections you want to migrate. Use **File → Export Connections** and save the `.ncx` file.</Step>
- <Step>### Open Import Dialog In DBX, go to **Settings → Import Connections** or right-click the sidebar group header and choose **Import Connections**.</Step>
- <Step>### Select the NCX File Choose the `.ncx` file you exported from Navicat.</Step>
- <Step>### Review and Complete DBX parses the file and lists all found connections. Review the list, re-enter passwords where needed, and save.</Step>
+ <Step>
+ ### Export from Navicat
+
+ In Navicat, select the connections you want to migrate. Use **File → Export Connections** and save the `.ncx` file.
+
+ </Step>
+ <Step>
+ ### Open Import Dialog
+
+ In DBX, go to **Settings → Import Connections** or right-click the sidebar group header and choose **Import Connections**.
+
+ </Step>
+ <Step>
+ ### Select the NCX File
+
+ Choose the `.ncx` file you exported from Navicat.
+
+ </Step>
+ <Step>
+ ### Review and Complete
+
+ DBX parses the file and lists all found connections. Review the list, re-enter passwords where needed, and save.
+
+ </Step>
</Steps>
## Import DBeaver Connections
<Steps>
- <Step>### Locate DBeaver Configuration DBeaver stores connections in its workspace directory. The exact path depends on your OS and DBeaver version. Common locations include `~/.local/share/DBeaverData/workspace6/General/.dbeaver/`.</Step>
- <Step>### Open Import Dialog In DBX, go to **Settings → Import Connections**.</Step>
- <Step>### Select DBeaver Files Choose the DBeaver connection configuration files (`.dbeaver-data-sources.xml` or similar).</Step>
- <Step>### Review and Complete DBX extracts connection details from the configuration. Re-enter any passwords that could not be decrypted.</Step>
+ <Step>
+ ### Locate DBeaver Configuration
+
+ DBeaver stores connections in its workspace directory. The exact path depends on your OS and DBeaver version. Common locations include `~/.local/share/DBeaverData/workspace6/General/.dbeaver/`.
+
+ </Step>
+ <Step>
+ ### Open Import Dialog
+
+ In DBX, go to **Settings → Import Connections**.
+
+ </Step>
+ <Step>
+ ### Select DBeaver Files
+
+ Choose the DBeaver connection configuration files (`.dbeaver-data-sources.xml` or similar).
+
+ </Step>
+ <Step>
+ ### Review and Complete
+
+ DBX extracts connection details from the configuration. Re-enter any passwords that could not be decrypted.
+
+ </Step>
</Steps>
## Import DataGrip Connections
<Steps>
- <Step>### Select Configuration Choose **Import DataGrip** in DBX and select `dataSources.xml` from a DataGrip project or global configuration. A matching local file in the same directory can supply additional fields.</Step>
- <Step>### Review Type Detection DBX combines driver references, database product names, JDBC subprotocols, and driver classes. Databases such as KingBase map to their DBX profile; unknown drivers remain generic JDBC.</Step>
- <Step>### Review Groups DataGrip group paths are imported as DBX connection groups so project organization is preserved.</Step>
- <Step>### Complete Credentials On macOS, DBX reads DataGrip Keychain passwords when available. Other encrypted or inaccessible credentials must be entered manually.</Step>
+ <Step>
+ ### Select Configuration
+
+ Choose **Import DataGrip** in DBX and select `dataSources.xml` from a DataGrip project or global configuration. A matching local file in the same directory can supply additional fields.
+
+ </Step>
+ <Step>
+ ### Review Type Detection
+
+ DBX combines driver references, database product names, JDBC subprotocols, and driver classes. Databases such as KingBase map to their DBX profile; unknown drivers remain generic JDBC.
+
+ </Step>
+ <Step>
+ ### Review Groups
+
+ DataGrip group paths are imported as DBX connection groups so project organization is preserved.
+
+ </Step>
+ <Step>
+ ### Complete Credentials
+
+ On macOS, DBX reads DataGrip Keychain passwords when available. Other encrypted or inaccessible credentials must be entered manually.
+
+ </Step>
</Steps>
## After Import