Merge pull request #2729 from chakflying/patch-1
Fix [MySQL monitor]: Fix error when connection failed
This commit is contained in:
commit
e241728419
|
@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
|
|||
reject(err);
|
||||
})
|
||||
.finally(() => {
|
||||
connection.end();
|
||||
connection.destroy();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue