P
Prisma8mo ago
Jellyton

Health Check of Query Engine timed out.

Hello there, I've been using Prisma for a bit now and I decided today to setup Prisma Accelerate. I'm using a mariadb (mysql) server and I've successfully setup accelerate, however, when queries that worked before accelerate are run, they error. Error + Logging:
prisma:client clientVersion 5.13.0 +0ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
prisma:client Prisma Client call: +459ms
prisma:client prisma.mdt_incidents.findUnique({
where: {
id: 13211
}
}) +1ms
prisma:client Generated request: +0ms
prisma:client {
"modelName": "mdt_incidents",
"action": "findUnique",
"query": {
"arguments": {
"where": {
"id": 13211
}
},
"selection": {
"$composites": true,
"$scalars": true
}
}
}
+1ms
⨯ PrismaClientKnownRequestError:
Invalid `prisma.mdt_incidents.findUnique()` invocation:


This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6008","message":"Accelerate was not able to connect to your database. The underlying error is: Health Check of Query Engine timed out."}} (The request id was: 87c55c720a5eeb77)
prisma:client clientVersion 5.13.0 +0ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
prisma:client Prisma Client call: +459ms
prisma:client prisma.mdt_incidents.findUnique({
where: {
id: 13211
}
}) +1ms
prisma:client Generated request: +0ms
prisma:client {
"modelName": "mdt_incidents",
"action": "findUnique",
"query": {
"arguments": {
"where": {
"id": 13211
}
},
"selection": {
"$composites": true,
"$scalars": true
}
}
}
+1ms
⨯ PrismaClientKnownRequestError:
Invalid `prisma.mdt_incidents.findUnique()` invocation:


This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6008","message":"Accelerate was not able to connect to your database. The underlying error is: Health Check of Query Engine timed out."}} (The request id was: 87c55c720a5eeb77)
2 Replies
Nurul
Nurul8mo ago
Hey @Jellyton 👋 This is a known issue with Accelerate. Our engineering team is aware of this. For now, you would need to use a different database other than MariaDB.
Jellyton
JellytonOP8mo ago
Ok thank you, as long as it's known, thats all I care about 🙏
Want results from more Discord servers?
Add your server