DbGate Server - Web Interface

7.1.9 · active · verified Wed Apr 22

DbGate Server (dbgate-serve) is the open-source community edition of a cross-platform database administration tool, providing a web-based user interface for managing various databases. It supports MySQL, PostgreSQL, SQL Server, MongoDB, Redis, SQLite, CockroachDB, MariaDB, and ClickHouse, with premium versions offering additional support for Amazon Redshift and CosmosDB. The current stable version is 7.1.9, with a frequent release cadence evidenced by numerous patches and minor versions in its recent history. Key differentiators include its broad database support, schema comparison, visual query designer, chart visualization, and robust batch export/import functionalities. It operates primarily as a command-line executable, configured via environment variables or `.env` files, and serves a local web application.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to install `dbgate-serve` globally, optionally configure it using a `.env` file for various database settings, and then run the server to access the web interface.

npm install -g dbgate-serve

# Create a .env file for configuration (optional)
# Example .env content for local storage (Premium feature, but demonstrates pattern):
# STORAGE_SERVER=localhost
# STORAGE_USER=root
# STORAGE_PASSWORD=mypassword
# STORAGE_DATABASE=dbname
# STORAGE_ENGINE=mysql@dbgate-plugin-mysql

# Run the DbGate server
dbgate-serve

# Then open http://localhost:3000 in your browser

view raw JSON →