DBX

What is DBX?

DBX is an open-source, lightweight workspace for databases and data infrastructure. It brings connection management, object browsing, SQL editing, data changes, schema tools, specialized consoles, and automation into one interface across 80+ databases and data systems.

DBX does not force every system into a SQL-shaped interface. Relational databases use the query editor, data grid, and schema tools, while Redis, MongoDB, vector databases, message queues, etcd, ZooKeeper, Nacos, and similar systems use workspaces designed around their own data models.

If you are ready to use DBX, start with Getting Started. To check a specific engine or feature, use Database Support and the feature matrix.

DBX dark interface screenshot

What DBX Helps You Do

More Than SQL Databases

The connection picker groups databases and data systems by how they are actually used. Each category can open a different workspace instead of falling back to one generic query box.

CategoryRepresentative systemsMain DBX experience
Relational and compatible protocolsMySQL, PostgreSQL, SQLite, Oracle, SQL Server, Dameng, openGauss, GaussDBSQL editor, data grid, object tree, table structure, and schema tools
Analytics and warehousesClickHouse, Doris, StarRocks, Databricks, Snowflake, Trino, BigQueryQueries, result analysis, metadata, and driver-supported schema and export tools
Document, key/value, and searchMongoDB, Redis, Elasticsearch, Easysearch, Meilisearch, HBase, CassandraSpecialized document, key, index, or column-family browsers
Graph, vector, and AI dataNeo4j, Qdrant, Milvus, Weaviate, ChromaDBGraph connections plus vector collection browsing, search, and mutation flows
Time seriesQuestDB, TDengine, IoTDB, InfluxDBTime-series queries and system-specific connection, object, and data views
Message queuesPulsar, Kafka, RocketMQ, RabbitMQTopics, subscriptions or consumers, messages, monitoring, permissions, and policies
Registry and configurationetcd, ZooKeeper, NacosKey/ZNode browsing, cluster status, access control, configuration, and service management
Driver extensionsJDBCX, custom MySQL/PostgreSQL, optional JDBC pluginsExtend coverage through compatible protocols or vendor JDBC drivers

Advanced features depend on the driver, protocol, and database itself. Use the Database Support matrix as the source of truth, and see Specialized Workspaces for non-relational and infrastructure interfaces.

One Workflow, Multiple Entry Points

Entry pointBest forCapabilities and boundaries
DesktopDaily personal work, local database files, the complete workbenchAdds local files, the SQL file tree and SQL library, desktop deep links, and other OS integrations
Docker / WebSelf-hosting on a server and remote browser accessShares most database workflows; paths belong to the server, and some local-file and desktop integrations are unavailable
CLITerminals, scripts, CI, and Codex workflowsLists connections and schemas, describes tables, runs queries, builds compact context, and can open a table in Desktop
MCP ServerClaude Code, Cursor, Windsurf, and other AI clientsLists connections, reads schema, and runs policy-controlled queries or commands against local storage or DBX Web

Desktop and Web reuse the same Rust core, but they are not identical substitutes for every system integration. Choose a deployment mode based on database network placement, whether files live on the local machine or server, and whether you need desktop deep links or local SQL file management.

From Connection to Automation

Establish the connection boundary

Choose a database type, enter credentials, and configure TLS, SSH, SOCKS5, HTTP proxying, or HTTP tunneling when needed. Enable read-only mode or production protection for high-risk targets.

Understand objects and context first

Use the sidebar to inspect databases, schemas, tables, columns, indexes, foreign keys, and database-specific objects. Search, source views, ER diagrams, and field lineage help with unfamiliar systems.

Query, inspect, and change

Run SQL in the query editor or use the data grid, document/key-value browsers, and specialized consoles. DBX shows SQL or request content before execution where the workflow supports it.

Compare, move, and reuse

Use schema diff, table import, data transfer, database export, SQL file execution, query history, and the SQL library to turn one-off operations into reviewable workflows.

Add AI and automation

Use AI Ask or Agent inside the app, or expose connections, schema context, and query execution to scripts and coding agents through the CLI and MCP.

Capability Map

TaskProduct capabilities implemented in DBXDocumentation
Create connectionsConnection categories, URL parsing, TLS, tunnels/proxies, read-only mode, production protection, and driver selectionGetting Started, Tunnels and Proxies
Write and run queriesCodeMirror 6, metadata completion, formatting, execution targets, multiple results, cancellation, and historyQuery Editor
Browse and edit resultsVirtual scrolling, database-side filters and sorting, inline edits, SQL preview, and multiple export formatsData Grid
Understand schemasObject tree and search, source views, table structure, schema diff, ER diagrams, and field lineageSchema Browser, Schema Diff
Import, transfer, and exportCSV/TSV/JSON/Excel import, cross-connection transfer, SQL file execution, and database exportTable Import, Data Transfer
Manage non-relational systemsRedis, MongoDB, search, vector, HBase, message queue, registry, and configuration workspacesSpecialized Workspaces
Use AI and external toolsAsk/Agent, CLI, MCP, and the Web/Docker backend APIAI Assistant, CLI, MCP
Move personal configurationConnection import, encrypted config export, WebDAV/Gist/Gitee sync, and SQL library syncConfig Export and Import, Cloud Sync and Backup

Safety Model

DBX uses layered controls rather than relying on a single dangerous-operation confirmation switch:

  • Database account privileges remain the final boundary. Use least-privilege accounts for production.
  • Read-only connections block recognizable writes in the core query execution path and hide or disable multiple mutation entry points.
  • Production protection can cover an entire connection or selected databases and requires a fresh explicit confirmation for every detected write.
  • Reviewable changes show SQL first where possible in data editing, table structure, schema diff, and similar workflows.
  • AI Ask mode returns an answer without executing SQL. Agent does not receive autonomous write permission in production and returns SQL to the editor for review.
  • MCP policy centrally controls the connection allowlist and Read only, Data read/write, or Full access modes. It cannot bypass connection read-only state, production protection, or database privileges.
  • Sensitive configuration is stored separately from normal connection JSON, and config exports can be protected with AES-GCM encryption.

See Production and Write Safety for configuration and behavior across entry points.

Boundaries to Understand

DBX is a database workbench, not a managed database service, and it does not replace database privileges, auditing, backups, or change approval. Database export is useful for lightweight backup or migration, but large production systems should use native backup tools. AI output, generated SQL, and cross-engine transfers still require human review.

  • Advanced features are not force-enabled for every database; unreliable compatibility paths are hidden or degraded.
  • Local paths in Docker/Web refer to the server filesystem, not the computer running the browser.
  • JDBC and Agent databases require the corresponding driver or runtime and may expose fewer features than native drivers.
  • The Web API primarily serves DBX Web and internal integrations and is not a stable public contract. Prefer the CLI or MCP for scripts and AI integrations.

Next Steps