reverting back to local db

This commit is contained in:
Mann Patel
2025-03-23 14:49:10 -06:00
parent 01d5e1b67b
commit 48668be540
3 changed files with 78 additions and 57 deletions

View File

@@ -2,11 +2,10 @@ const mysql = require("mysql2");
//Create a pool of connections to allow multiple query happen at the same time
const pool = mysql.createPool({
host: "marketplace-db.cpkkqmq065sx.ca-central-1.rds.amazonaws.com",
user: "admin",
password: "qizsYh-movpub-wuhdo2",
database: "Marketplace",
port: "3306",
host: "localhost",
user: "root",
database: "marketplace",
password: "12345678",
});
//Export a promise for promise-based query