From 69b471b0f18dda62ecc85ecf4e91b7741b80c617 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 20 Jul 2016 20:11:50 +0100 Subject: [PATCH] let mysql node allow multiple statements --- storage/mysql/68-mysql.js | 3 ++- storage/mysql/package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/mysql/68-mysql.js b/storage/mysql/68-mysql.js index c9c91c53..33c87600 100644 --- a/storage/mysql/68-mysql.js +++ b/storage/mysql/68-mysql.js @@ -40,7 +40,8 @@ module.exports = function(RED) { password : node.credentials.password, database : node.dbname, timezone : node.tz, - insecureAuth: true + insecureAuth: true, + multipleStatements: true }); node.connection.connect(function(err) { diff --git a/storage/mysql/package.json b/storage/mysql/package.json index 3edc7554..9469f2d7 100644 --- a/storage/mysql/package.json +++ b/storage/mysql/package.json @@ -1,9 +1,9 @@ { "name" : "node-red-node-mysql", - "version" : "0.0.8", + "version" : "0.0.9", "description" : "A Node-RED node to read and write to a MySQL database", "dependencies" : { - "mysql" : "2.9.*" + "mysql" : "2.11.1" }, "repository" : { "type":"git",