Node-RED plugin (v0.1.3) that stores Node-RED flows, credentials, settings, sessions, and library entries in MySQL. Built as a MySQL alternative to MongoDB storage plugin. Requires embedding Node-RED in a custom process. Library recall is not fully functional. Low release cadence; experimental.
npm install node-red-contrib-mysql-storage-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Node-RED settings to use MySQL storage plugin with environment variables for credentials.
Follow embedding guide at http://nodered.org/docs/embedding.html.
Run provided SQL script against your MySQL database before starting Node-RED.
Library entries can be saved but not retrieved; avoid using library feature or submit PR.
Use port: parseInt(process.env.MYSQL_PORT) || 3306.
Run 'npm install --save node-red-contrib-mysql-storage-plugin' in the same directory as your custom Node-RED process.
Verify MySQL is running and sqlConfig host/port are correct. Use environment variables.
Ensure storageModuleOptions contains a valid sqlConfig object with user, password, host, database, and port.