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",