var con = mysql.createConnection({ host: "157.245.58.124", user: "shibly_user", password: "Shibly@159", database: "shibly_test_db" }); con.connect(function(err) { if (err) throw err; console.log("Connected!"); }