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.
npm install dbgate-serveVerified import paths — ran on the pinned version, not inferred.
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.
No direct code fix needed for `dbgate-serve` CLI users, but be aware of potential changes if integrating with DbGate cloud services or premium features. Ensure your network allows connections to the new infrastructure if applicable.
Upgrade to version 7.1.9 or later to receive the security patch. Regularly update `dbgate-serve` to benefit from the latest security improvements and bug fixes.
For Oracle database users requiring features only supported in thick mode, download and unpack the Oracle Instant Client and set the `ORACLE_INSTANT_CLIENT` environment variable to its directory path. Refer to the DbGate documentation and Oracle's `node-oracledb` guide for detailed setup instructions.
To run the application, use the `dbgate-serve` command in your terminal. For programmatic interactions with DbGate's features (e.g., managing connections, executing queries), use the `dbgate-api` package instead.
Stop the conflicting application or configure `dbgate-serve` to use a different port by setting the `PORT` environment variable (e.g., `PORT=4000 dbgate-serve`).
Ensure the required database plugin package is correctly installed (e.g., `npm install dbgate-plugin-mysql`) and spelled correctly in your configuration.
Verify database credentials, host, and port in your `.env` file or connection settings. Check firewall rules on both the DbGate server and database server. Ensure the database server is running and accessible from where `dbgate-serve` is hosted.
No dependency data recorded yet.