Fix: Embedded MariaDB startup issue (#5283)

This commit is contained in:
Louis Lam
2024-11-05 20:25:08 +08:00
committed by GitHub
parent 595b35fb15
commit 5864c6dd88
2 changed files with 65 additions and 22 deletions

View File

@@ -296,7 +296,7 @@ class Database {
client: "mysql2",
connection: {
socketPath: embeddedMariaDB.socketPath,
user: "node",
user: embeddedMariaDB.username,
database: "kuma",
timezone: "Z",
typeCast: function (field, next) {