It may be the issue that https://github.com/prisma/prisma/issues/16886.
App service cannot connect to database: ERROR 08S01 (1043): Bad handshake
Our app service is suddenly not able to connect to the database anymore.
App service gives the following log:
2023-02-11T12:05:43.842683709Z throw new PrismaClientInitializationError(error2.message, this.config.clientVersion, error2.error_code);
2023-02-11T12:05:43.842690510Z ^
2023-02-11T12:05:43.846452593Z Error: Error querying the database: Server error: `ERROR 08S01 (1043): Bad handshake'
I've tried restarting everything, but to no avail
Anyone got suggestions on what to do?
Azure Database for MySQL
Azure App Service
2 answers
Sort by: Most helpful
-
-
Guillaume 0 Reputation points
2023-02-15T17:44:56.49+00:00 Same here,
Everything was working fine this morning on MYSQL v8.0.29 after the maintenance updating to MySQL v8.0.31,
I was suddenly, without changing the code or some settings, not able to connect to my database locally and from my production server... I spent my day with support ! Raise your hand if you experiment the same problem it will help