{"library":"mysql2-ssh","type":"library","category":null,"description":"Provides a wrapper around mysql2 to create a MySQL connection over an SSH tunnel using ssh2. Enables async/await patterns for establishing the tunnel and executing queries. Current version 1.2.0, forks grrr-amsterdam/mysql-ssh with modern async support. Key differentiator: simple Promise-based API versus older callback-based alternatives. Key differentiator: simple Promise-based API versus older callback-based alternatives. Requires both mysql2 and ssh2 as peer dependencies. Release cadence is low, mainly bug fixes.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","mysql","remote","tunnel","ssh"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql2-ssh","imports":["import { getConnection } from 'mysql2-ssh'","import { close } from 'mysql2-ssh'","const { getConnection } = await import('mysql2-ssh')"]},{"cmd":"yarn add mysql2-ssh","imports":[]},{"cmd":"pnpm add mysql2-ssh","imports":[]}],"homepage":"https://github.com/Engelswoord/mysql2-ssh","github":"https://github.com/Engelswoord/mysql2-ssh","docs":null,"changelog":null,"pypi":null,"npm":"mysql2-ssh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}