Question
concept to mysql
i am trying to conect to mysql
i wote this code, but it is not wored for me.
var con = mysql.createConnection({
host: "db5005371458.hosting-data.io",
user: "dbu616436",
password: "NIRELamir1",
database: "dbs4506304"
});
con.connect(function(err) {
if (err) throw err;
alert("Connected!");
});
