71 lines
4.6 KiB
Plaintext
71 lines
4.6 KiB
Plaintext
---
|
|
title: What is DBX?
|
|
description: DBX is an open-source database workspace for connections, SQL editing, data grids, schema tools, AI assistance, and self-hosted access.
|
|
---
|
|
|
|
DBX is an open-source database workspace. It brings the daily database workflow into one place: connecting to databases, writing SQL, browsing and editing data, exploring schemas, comparing structures, importing and exporting data, and using AI assistance when it helps.
|
|
|
|
DBX is available as both a desktop app and a Docker deployment. Use the desktop app for local daily work, or self-host the Docker version when you want browser-based access from a server.
|
|
|
|

|
|
|
|
## Where DBX Fits
|
|
|
|
<Cards>
|
|
<Card title="Daily Query Work" href="/en/docs/query-editor">
|
|
Write, format, and execute SQL, then use query history to return to previous investigation steps.
|
|
</Card>
|
|
<Card title="Browse and Edit Data" href="/en/docs/data-grid">
|
|
Filter, sort, edit, preview SQL, and decide when changes should be committed to the database.
|
|
</Card>
|
|
<Card title="Understand Schemas" href="/en/docs/schema-browser">
|
|
Browse databases, schemas, tables, columns, indexes, foreign keys, and triggers from the sidebar.
|
|
</Card>
|
|
<Card title="Compare Environments" href="/en/docs/schema-diff">
|
|
Compare dev, staging, and production schemas, then generate SQL you can review before syncing.
|
|
</Card>
|
|
</Cards>
|
|
|
|
## Core Capabilities
|
|
|
|
| Capability | Details |
|
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
| Database connections | MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, and more |
|
|
| SQL editor | CodeMirror 6, syntax highlighting, metadata completion, formatting, selected execution, and query history |
|
|
| Data grid | Virtual scrolling, inline editing, WHERE/ORDER BY controls, SQL preview, and export tools |
|
|
| Schema tools | Schema browser, table structure editing, schema diff, ER diagrams, field lineage, database export, and SQL file execution |
|
|
| Data movement | Table import, data transfer, SQL file execution, and SQL export with progress and cancellation where supported |
|
|
| Specialized browsers | Redis key/value browsing and MongoDB document browsing |
|
|
| AI and automation | Generate SQL, explain queries, suggest optimizations, help fix errors, and expose DBX connections to coding agents through MCP |
|
|
| Self-hosted access | Run DBX with Docker and access it from a browser |
|
|
|
|
## Product Principles
|
|
|
|
DBX focuses on the core work of a database client instead of turning every operation into a separate tool. A few details shape the product:
|
|
|
|
- **Less context switching**: schema browsing, SQL editing, data grids, and results stay close together.
|
|
- **Reviewable operations**: data and schema changes show the SQL before they are applied where possible.
|
|
- **Clear environment separation**: connection colors, pins, search, and context menus help separate dev, test, and production.
|
|
- **Flexible deployment**: the desktop app fits personal workflows; the Docker version fits shared or server-hosted access.
|
|
|
|
## Data and Security
|
|
|
|
- Connection configuration is stored in a local SQLite database under the app data directory. Sensitive fields such as passwords, SSH passwords, SSH key passphrases, and connection strings are removed from the normal connection JSON and stored separately in the `connection_secrets` table.
|
|
- Config export can be encrypted with AES-GCM for migration between machines.
|
|
- SSH tunnels can connect to databases behind firewalls or private networks.
|
|
- AI Ask mode does not execute generated SQL. Agent and MCP flows use conservative execution policies and block dangerous SQL by default.
|
|
|
|
## Next Steps
|
|
|
|
<Cards>
|
|
<Card title="Install and Connect" href="/en/docs/getting-started">
|
|
Start with the desktop app or Docker version, then create your first database connection.
|
|
</Card>
|
|
<Card title="Review Database Support" href="/en/docs/databases">
|
|
Check supported engines, compatible protocols, and ODBC-specific setup.
|
|
</Card>
|
|
<Card title="Set Up AI Assistant" href="/en/docs/ai-assistant">
|
|
Add an API key and use natural language in the SQL editor.
|
|
</Card>
|
|
</Cards>
|