From 77b42f58e5963a67febe16a66a41c134fcb6e419 Mon Sep 17 00:00:00 2001
From: 65160381 <65160381@go.buu.ac.th>
Date: Mon, 24 Mar 2025 14:19:42 +0000
Subject: [PATCH] Update file db.js

---
 db.js | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/db.js b/db.js
index cfadf33..b8a2575 100644
--- a/db.js
+++ b/db.js
@@ -11,12 +11,6 @@ const pool = mysql.createPool({
     queueLimit: 0
 });
 
-db.connect((err) => {
-    if (err) {
-      console.error('Error connecting to the database:', err);
-    } else {
-      console.log('Connected to the database');
-    }
-  });
-  
+
+
 module.exports = pool;
-- 
GitLab