{"library":"mysql8","type":"library","category":null,"description":"A community fork of the official mysqljs/mysql package (v2.17.3) to ensure compatibility with MySQL 8 authentication and features. This package provides a pure JavaScript, no-compile MySQL driver for Node.js (>=0.6). It offers connection pooling, prepared statements, streaming, and transaction support. It is an active drop-in replacement for the original mysql package, which has been in maintenance mode. Note that the original mysql package is no longer actively maintained; the mysql8 fork addresses issues like caching_sha2_password support. However, for new projects, the mysql2 package is recommended due to better performance, promise support, and ongoing maintenance.","language":"javascript","status":"active","version":"2.17.3","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql8","imports":["import mysql from 'mysql8'","const mysql = require('mysql8');\nconst connection = mysql.createConnection({...})","import mysql from 'mysql8';\nconst pool = mysql.createPool({...});"]},{"cmd":"yarn add mysql8","imports":[]},{"cmd":"pnpm add mysql8","imports":[]}],"homepage":"https://github.com/mysqljs/mysql#readme","github":"https://github.com/mysqljs/mysql","docs":null,"changelog":null,"pypi":null,"npm":"mysql8","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}