npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dbgate-serve

v6.1.0

Published

Opensource database administration tool - web interface

Downloads

423

Readme

styled with prettier NPM version

DbGate - database administration tool

DbGate is cross-platform database manager. It's designed to be simple to use and effective, when working with more databases simultaneously. But there are also many advanced features like schema compare, visual query designer, chart visualisation or batch export and import.

Supported databases

  • MySQL
  • PostgreSQL
  • SQL Server
  • Oracle
  • MongoDB
  • Redis
  • SQLite
  • Amazon Redshift (Premium)
  • CockroachDB
  • MariaDB
  • CosmosDB (Premium)
  • ClickHouse

Community vs Premium

This package has 2 variants:

Install using npm - premium edition

npm install -g dbgate-serve-premium

DbGate is configure via environment variables. In this package, you could use .env files with configuration of DbGate. .env file is loaded in working directory.

.env file could look like following:

STORAGE_SERVER=localhost
STORAGE_USER=root
STORAGE_PASSWORD=mypassword
STORAGE_DATABASE=dbname
STORAGE_ENGINE=mysql@dbgate-plugin-mysql

You could find more about environment variable configuration on DbGate docs page.

After installing, you can run dbgate with command:

dbgate-serve-premium

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

Install using npm - community edition

npm install -g dbgate-serve

After installing, you can run dbgate with command:

dbgate-serve

.env file could be used in the same way as in Premium edition, without STORAGE_xxx variables, which are specific for Premium.

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

Download desktop app

You can also download binary packages for desktop app from https://dbgate.org . Or run from source code, as described on github

Use Oracle with Instant client (thick mode)

If you are Oracle database user and you would like to use Oracle instant client (thick mode) instead of thin mode (pure JS NPM package), please make the following:

  • Download Oracle instant client - https://www.oracle.com/cz/database/technologies/instant-client/downloads.html
  • Unpack it somewhere (og. /opt/oracle in Linux systems)
  • Configure ORACLE_INSTANT_CLIENT variable - should contain directory name of unpacked Instant client

If you don't know, whether you will need Instance client, please use this table of features, which are supported only in thick mode (with instant client). Eg. thin mode works from Oracle 12, if you have older Oracle server, you will need to install Oracle Instant client.

Other dbgate packages

You can use some functionality of dbgate from your JavaScript code. See dbgate-api package.

Screenshot

Screenshot