MysqlDriver is the MySQL adapter for ClayDB, an ORM-like database abstraction layer. This package provides a driver class extending SequelizeDriver, enabling MySQL integration with ClayDB. Version 5.2.42 is stable and compatible with Node.js >=7.6 and npm >=4. The driver supports connection pooling, logging, and benchmark options. Key differentiators: it is part of the ClayDB ecosystem, providing a unified interface across different databases. The package is mature and used in production environments, though development activity appears low.
npm install clay-driver-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Instantiates a MySQL driver and creates a ClayDB lump instance to perform database operations.
Use new MysqlDriver(database, username, password, options).
Set logging to false or a custom function in production.
Install clay-lump as a dependency.
Upgrade Node.js to >=7.6.
Run 'npm install clay-driver-mysql' and verify the path is correct.
Install clay-lump via 'npm install clay-lump' and require it correctly: const clayLump = require('clay-lump').Use const { MysqlDriver } = require('clay-driver-mysql') instead of const MysqlDriver = require('clay-driver-mysql').No dependency data recorded yet.