{"library":"machinepack-mysql","type":"library","category":null,"description":"MySQL database driver for Sails.js and Waterline ORM, implementing the Node-Machine driver interface. Version 5.0.0 is the latest stable release, maintained by the Sails.js team. It provides structured, promise-based operations for MySQL databases. Compared to direct mysql2 usage, it integrates seamlessly with Sails/Waterline and enforces a machine-based interface. Active development with regular releases aligned with Sails.js updates.","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","mysql","driver","waterline","sails","machines","machinepack"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install machinepack-mysql","imports":["const MySQL = require('machinepack-mysql');","MySQL.getConnection({ user: 'root', password: '...', database: 'test' }).exec({ error: err => console.log(err), success: conn => console.log(conn) });","MySQL.sendQuery({ connection: conn, query: 'SELECT 1' }).exec(console.log);"]},{"cmd":"yarn add machinepack-mysql","imports":[]},{"cmd":"pnpm add machinepack-mysql","imports":[]}],"homepage":"https://github.com/treelinehq/machinepack-mysql#readme","github":"ssh://git@github.com/treelinehq/machinepack-mysql","docs":null,"changelog":null,"pypi":null,"npm":"machinepack-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}