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