diff --git a/db.js b/db.js index 7f3fadeae3ff84a514c38fe05ed5b30e2ac667e5..1d120eee84e05c9ce96258c8da647da913caa9ae 100644 --- a/db.js +++ b/db.js @@ -2,7 +2,7 @@ const mysql = require('mysql2'); const db = mysql.createConnection({ host: 'node77557-projectcloud1.th2.melon.cloud', - port: '11330', + port: '3306', user: 'root', password: 'ILPevb21610', // ถ้ามีรหัสผ่านจาก XAMPP ให้ใส่ database: 'ithub' // ชื่อฐานข้อมูลที่สร้างใน phpMyAdmin