Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(db): connection issue do to missing host and name of db when connecting with host (#4786)

Meier Lukas7d3322576c3e
diff --git a/packages/core/src/infrastructure/db/drivers/mysql.ts b/packages/core/src/infrastructure/db/drivers/mysql.ts
index d34c4f51b..306180f20 100644
--- a/packages/core/src/infrastructure/db/drivers/mysql.ts
+++ b/packages/core/src/infrastructure/db/drivers/mysql.ts
@@ -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,
});