Open Luzifix opened 1 month ago
After lose connection to the database the reconnect not work and only a restart of the docker container helps
The bot can reconnect to the database after losing connection
[08/09/24 10:17:04] [INFO] (PRISMA) @../../app/src/client.js:96:46 quaint::pooled Starting a mysql pool with 29 connections. [08/09/24 10:17:07] [ERROR] (PRISMA) @../../app/src/client.js:95:48 guild.findUnique Invalid `prisma.guild.findUnique()` invocation:
Can't reach database server at 127.0.0.1:3306
127.0.0.1
3306
### Environment ```markdown - OS: Linux - Node: docker - NPM: docker - Bot: 4.0.19
Im using a MariaDB 10.6.19 as MySQL Server
The JSON Protocol in Prisma Client v5 might fix this.
Is there an existing issue for this?
Current Behavior
After lose connection to the database the reconnect not work and only a restart of the docker container helps
Expected Behavior
The bot can reconnect to the database after losing connection
Steps To Reproduce
Can't reach database server at
127.0.0.1
:3306
Anything else?
Im using a MariaDB 10.6.19 as MySQL Server