MySQL handler for the Dblink database abstraction layer. Current stable version is 1.3.3. Provides a standardized interface for MySQL connections and queries within the Dblink ecosystem. Ships TypeScript types. Limited documentation suggests minimal usage outside of Dblink's framework. Release cadence is unknown.
npm install dblink-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Dblink instance, adds the MySQL handler, connects with config from environment, runs a query, and closes the connection.
Always use Dblink.addHandler() to register the handler.
Upgrade to latest version if available.
Install mysql2: npm install mysql2
Run: npm install mysql2
Ensure Dblink is imported correctly: import Dblink from 'dblink'
Call db.addHandler('mysql', DblinkMySQL) before db.connect()