I have implemented the following code:
module.exports = { getDataFromUserGps: function(callback) { connection.connect(); connection.qu
You can use debug: false,
Example: //mysql connection
var dbcon1 = mysql.createConnection({ host: "localhost", user: "root", password: "", database: "node5", debug: false, });