fix: default pwd in docker
This commit is contained in:
parent
6e3abf3835
commit
8f8897338a
6
db.js
6
db.js
@ -28,9 +28,9 @@ const db = require("mariadb");
|
|||||||
// create pool
|
// create pool
|
||||||
const pool = db.createPool({
|
const pool = db.createPool({
|
||||||
connectionLimit : 10,
|
connectionLimit : 10,
|
||||||
host : 'localhost',
|
host : 'db-in-docker',
|
||||||
user : 'user',
|
user : 'root',
|
||||||
password : '',
|
password : 'ncnu',
|
||||||
database : 'scholarship'
|
database : 'scholarship'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user