From a3a7f4dd7380150e1a5312dc6cc2e4a45b982cd8 Mon Sep 17 00:00:00 2001 From: Sirapob Lapanakokiat <65160126@go.buu.ac.th> Date: Thu, 20 Mar 2025 12:03:48 +0700 Subject: [PATCH] Connect to Database Melon --- database/db.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/db.js b/database/db.js index 90cf4a6..e19f784 100644 --- a/database/db.js +++ b/database/db.js @@ -2,10 +2,10 @@ const mysql = require('mysql2'); const path = require('path'); const db = mysql.createConnection({ - host: 'localhost', + host: 'node77228-melon-ci-demo.th2.melon.cloud', port: '3306', user: 'root', - password: '', + password: 'MAXrkt06755', database: 'Project' }); -- GitLab