done
This commit is contained in:
parent
6d1cb3ee12
commit
490ec4ebe5
|
@ -22,7 +22,7 @@ const db = mysql.createConnection({
|
||||||
// Connect to MySQL database
|
// Connect to MySQL database
|
||||||
db.connect((err) => {
|
db.connect((err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error("Database connection failed: " + err.stack);
|
console.error("MYSQL Database connection failed: " + err.stack);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log("Connected to the MYSQL database.");
|
console.log("Connected to the MYSQL database.");
|
||||||
|
|
Loading…
Reference in New Issue