mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-29 02:39:16 +01:00
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({
|
||||
...defaultOptions,
|
||||
host: dbEnv.HOST,
|
||||
port: dbEnv.PORT,
|
||||
database: dbEnv.NAME,
|
||||
user: dbEnv.USER,
|
||||
password: dbEnv.PASSWORD,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user