{"library":"hapi-mysql","type":"library","category":null,"description":"A simple Hapi.js plugin that provides a MySQL database connection pool using the mysql npm package. Current stable version is 1.0.16, with low release cadence (last update 2016). It exposes a connection pool via server.plugins['hapi-mysql'].pool, allowing query execution through the mysql driver's pool API. Key differentiator: minimalistic plugin that does not abstract MySQL queries; it simply integrates mysql connection pooling into Hapi's plugin system. Alternative modern approach: use @hapi/hapi with @hapi/glue and a dedicated mysql or sequelize plugin.","language":"javascript","status":"deprecated","version":"1.0.16","tags":["javascript","ecosystem:hapi","mysql","plugin"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install hapi-mysql","imports":["Require the plugin as 'hapi-mysql' and register via server.pack.require('hapi-mysql', config, callback)","const pool = request.server.plugins['hapi-mysql'].pool;","const hapiMysql = require('hapi-mysql');"]},{"cmd":"yarn add hapi-mysql","imports":[]},{"cmd":"pnpm add hapi-mysql","imports":[]}],"homepage":"https://github.com/seldo/hapi-mysql","github":"https://github.com/seldo/hapi-mysql","docs":null,"changelog":null,"pypi":null,"npm":"hapi-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}