This commit is contained in:
omkieit 2024-12-23 12:36:42 +05:30
parent 6d1cb3ee12
commit 490ec4ebe5
1 changed files with 1 additions and 1 deletions

View File

@ -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.");