{"library":"cypress-mysql","type":"library","category":null,"description":"A Cypress plugin that adds MySQL database commands (cy.query()) to Cypress e2e tests, allowing direct SQL execution against a MySQL database. Current stable version is 2.0.0. The plugin requires Cypress >=15 and provides both JavaScript and TypeScript support. It wraps the popular mysql2 library internally to handle connections and queries. Key differentiator: it is one of the few actively maintained Cypress database plugins that works with the modern Cypress configuration (cypress.config.js/ts) and supports parameterized queries. However, usage declined due to Cypress native database plugin APIs and alternative approaches like cy.task for database access.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","cypress","plugin","mysql","sql","database","db","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install cypress-mysql","imports":["import mysql from 'cypress-mysql'; mysql.configurePlugin(on);","import mysql from 'cypress-mysql'; mysql.addCommands();","cy.query('SELECT * FROM table').then(res => ...)"]},{"cmd":"yarn add cypress-mysql","imports":[]},{"cmd":"pnpm add cypress-mysql","imports":[]}],"homepage":"https://github.com/Zaista/cypress-mysql","github":"https://github.com/Zaista/cypress-mysql","docs":null,"changelog":null,"pypi":null,"npm":"cypress-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}