{"library":"mysql-ssh","type":"library","category":null,"description":"A lightweight Node.js library that establishes a MySQL connection through an SSH tunnel. Currently at version 1.0.6, it wraps ssh2 and mysql2 to provide a simple promise-based API for connecting to remote MySQL databases only accessible via SSH. Unlike manually managing SSH tunnels with separate libraries, mysql-ssh handles forwarding and cleanup automatically. Suitable for temporary connections, but users must call close() to avoid resource leaks. Low maintenance cadence.","language":"javascript","status":"active","version":"1.0.6","tags":["javascript","mysql","remote","tunnel","ssh"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-ssh","imports":["const mysqlssh = require('mysql-ssh')","const { connect } = require('mysql-ssh')","const { close } = require('mysql-ssh')"]},{"cmd":"yarn add mysql-ssh","imports":[]},{"cmd":"pnpm add mysql-ssh","imports":[]}],"homepage":"https://github.com/grrr-amsterdam/mysql-ssh#readme","github":"https://github.com/grrr-amsterdam/mysql-ssh","docs":null,"changelog":null,"pypi":null,"npm":"mysql-ssh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}