A Node-RED node to execute MySQL queries against a specified database table. Current stable version is 1.3.0, with irregular releases. Key differentiator: it integrates query execution directly into Node-RED flows with optional connection pooling, supporting host, port, database, username, password, and SQL via configuration or message properties. Compared to other MySQL nodes, it offers pooling parameters like connection limit and queue timeout, but has no TypeScript types and is not actively maintained.
npm install node-red-mysql-r2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the node and shows how to use it in Node-RED by dragging from palette and configuring.
Use environment variables or Node-RED's credential encryption to store credentials.
Check the 'mysql' dependency version in node_modules and update if necessary.
Set connection limit and queue timeout appropriately in node configuration.
Clear msg.sql and other override properties if not intended.
Set default_authentication_plugin=mysql_native_password in your MySQL config or ALTER USER 'user'@'host' IDENTIFIED WITH mysql_native_password BY 'password';
Verify host/port, ensure MySQL is running and accessible.
Check credentials in node configuration or msg properties.
Deploy the flow again or restart Node-RED.
No dependency data recorded yet.