A lightweight Bluebird promise wrapper for the MySQL Node.js driver providing promise-based database operations. Version 0.0.3 is the latest and only stable release. The library wraps the callback-based mysql package with Bluebird promises, offering methods like start(), query(), and end(). It is a minimal wrapper with no active development since 2015, and is superseded by modern promise-based MySQL libraries such as mysql2/promise. Suitable for legacy projects relying on Bluebird promises.
npm install mysql-bluebirdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require the module, create a connection, start, query, and handle results with promises.
Replace with mysql2/promise: npm install mysql2 and use const mysql = require('mysql2/promise');Always chain db.start() before any db.query() calls.
If you need fields, use a raw mysql connection or access via second element in array destructuring.
Run 'npm install mysql-bluebird' and ensure require path is correct.
Use 'new MySQL(options)' instead of just 'MySQL(options)'.
Chain queries after db.start() using .then() or async/await.