1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

let mysql node allow multiple statements

This commit is contained in:
Dave Conway-Jones 2016-07-20 20:11:50 +01:00
parent 4f4d2de45f
commit 69b471b0f1
2 changed files with 4 additions and 3 deletions

View File

@ -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) {

View File

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