throws now error

Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
Walamana 2017-11-27 17:19:52 +01:00
parent a625597be3
commit 2b6281d96d

1
app.js
View File

@ -17,6 +17,7 @@ var con = mysql.createConnection({
con.connect(err => {
if (err) {
console.log("Cant connect to MySQL database");
throw err;
}
console.log("Connected to database!");
});