Zero-dependency fork of mysql v2.12.0, repackaged as a single-file module for Node.js. This package is essentially an archived snapshot of the popular 'mysql' driver from late 2016, stripped of all external dependencies. It is intended for environments where minimal footprint is critical but carries the significant caveat of being unmaintained and frozen at that version. No updates, security patches, or MySQL protocol improvements have been applied since. Only supports Darwin or Linux OS; Windows is not tested. This package is historically notable but not recommended for new projects.
npm install mysql-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to MySQL, run a simple SELECT query, and log the result using mysql-lite (mysql v2.12.0 API).
Use actively maintained MySQL clients like mysql2 (npm install mysql2).
Use a cross-platform alternative like mysql2 if you need Windows support.
Consider using mysql2 which is actively maintained and supports prepared statements, promises, etc.
Run 'npm install mysql-lite' and verify the package is in node_modules.
Ensure MySQL is running and accessible. Check connection config: host, port, user, password.
Verify username and password. Grant necessary privileges or use correct user.
No dependency data recorded yet.