node-red-contrib-mysql-config

JSON →
library 1.0.4 ·javascript
verified Jun 5, 2026

A Node-RED node for querying MySQL and MariaDB databases, forked from node-red-contrib-stackhero-mysql (v1.0.4). This version enables configuring database connections via environment variables instead of hardcoding credentials in the Node-RED UI. It supports parameterized queries (using named placeholders in msg.topic and values in msg.payload) to prevent SQL injections. Released as a minor fork, it maintains the same API as the original but adds CI/CD-friendly configuration. Suitable for Node-RED instances deployed across environments where credentials must be set at runtime.