A lightweight MySQL client wrapper for Node.js that provides a connection pool, CRUD operations (store, update, destroy, list, fetch), DDL methods (createDatabase, listDatabases, createTable, listTables, describeTable), and a raw query method. Version 1.3.4 depends on the popular 'mysql' npm package. It simplifies common database tasks while exposing underlying connection objects for advanced use. Release cadence is irregular; the package is stable but sees infrequent updates. Differentiators: built-in connection pooling (default limit 100, queue 100), easy CRUD with filters/projection, and explicit pool destruction.
npm install mysql-node-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a MySQL client, lists all rows from 'test_table', logs results, and destroys the connection pool.
Monitor the 'mysql' package status; consider switching to 'mysql2' and a corresponding wrapper.
Omit database property from CONNECTION_DATA when using those DDLs.
Use mysql2-based wrappers for modern features.
Remove 'database' from CONNECTION_DATA when calling createDatabase or listDatabases.
Ensure all queries finish before calling destroyConnectionPool, or call getConnection after pool destruction.