Skip to main content
Known Participant
November 3, 2021
Question

concept to mysql

  • November 3, 2021
  • 0 replies
  • 71 views

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!");

});

    This topic has been closed for replies.