Registry / database / express-mysql-client

express-mysql-client

JSON →
library1.0.0jsnpmunverified

Express MySQL Client is a fork of Node MySQL Admin providing a web-based MySQL management interface for Express and Koa applications, similar to phpMyAdmin. Current version 1.0.0 (last updated 2015) is in maintenance mode with no recent releases. It supports basic database operations (create, delete, browse tables/records), server monitoring (CPU, memory), and direct SQL queries. Key differentiators include optional IP-level access control and customizable URL prefix. Does not support Windows. Requires running MySQL server and Express middleware integration. Alternative modern tools include phpMyAdmin or Adminer.

database
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Package is CommonJS-only and does not support ESM imports.

var mysqlAdmin = require('express-mysql-client');

Must pass the Express app instance as argument. Failing to do so causes middleware to not work.

app.use(mysqlAdmin(app));

Sets up an Express server with the MySQL admin middleware at /myadmin endpoint.

var express = require('express'); var mysqlAdmin = require('express-mysql-client'); var app = express(); app.use(mysqlAdmin(app)); app.listen(3000, function() { console.log('Express MySQL Client running on http://localhost:3000/myadmin'); });
Debug
Known footguns
gotchaPackage does NOT support Windows. Will fail to start on Windows systems.
deprecatedThe original nodemysql and Node MySQL Admin are unmaintained. This fork has not been updated since 2015.
gotchaMust pass the instantiated Express app to the middleware function. Omitting argument causes silent failure.
gotchaKoa setup is non-trivial and requires manual routing and disabling Koa response handling.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
7 hits · last 30 days
gptbot
3
mj12bot
1
Resources