Finish admin dashboard and update sql
This commit is contained in:
10
utils/database.js
Normal file
10
utils/database.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const mysql = require("mysql2");
|
||||
|
||||
const pool = mysql.createPool({
|
||||
host: "localhost",
|
||||
user: "root",
|
||||
database: "Marketplace",
|
||||
password: "12345678",
|
||||
});
|
||||
|
||||
module.exports = pool.promise();
|
||||
Reference in New Issue
Block a user