fix(db): connection issue do to missing host and name of db when connecting with host (#4786)
This commit is contained in:
@@ -26,7 +26,9 @@ const createMysqlDbConnection = () => {
|
|||||||
|
|
||||||
return mysql.createPool({
|
return mysql.createPool({
|
||||||
...defaultOptions,
|
...defaultOptions,
|
||||||
|
host: dbEnv.HOST,
|
||||||
port: dbEnv.PORT,
|
port: dbEnv.PORT,
|
||||||
|
database: dbEnv.NAME,
|
||||||
user: dbEnv.USER,
|
user: dbEnv.USER,
|
||||||
password: dbEnv.PASSWORD,
|
password: dbEnv.PASSWORD,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user