New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 08S01 (1043) -> Bad Handshake. MySQL Connection with SSL certs #16886
Comments
This looks like the same issue as #14903 I tried to get a reproduction of this error, but so far could not. One person reported the following workaround
|
I did not reproduce with certificates but based on #14903 I think it's related - further investigation and discussion there. |
+1; Experiencing the same. Seems to be related to SQL v0.8.30. |
I have encountered the same problem while using a MySQL database hosted on Azure. Is there any solution? |
Reverting to an older version of SQL. (For azure managed plan this means creating an new database on v5.7) or configuring SSL properly? |
Same probleme here on Azure the database was in v 8.029 until this morning 9am when they upgrade it to 8.031 and now I am not able to connect anymore in production... the prisma team could watch this ? |
Anybody have any kind of workaround for this yet? Microsoft automatically upgraded our mysql servers from 8.0.28 to 8.0.31 overnight and this took out all of our environments (including production). |
Reverting to an older version of SQL. (For azure managed plan this means creating an new database on v5.7) |
Any news on the patch for this besides downgrading to MySQL v5.7? My azure production environment just crashed due to Azure updating their MySQL server version. I can't connect to my azure MySQL server using prisma due to having to use |
This should now be fixed in our |
@janpio Works with Azure Database for MySQL. |
Bug description
Hi, I've been trying to set up SSL for my prisma connection but I'm getting a "Bad Handshake" error, even though on MySQL Workbench, tableplus... my connection works fine with certificates.
I've followed the guide on the prisma docs website here. And placed both client-identity.p12 and rootca.cert inside my ./prisma folder.
The connection string i'm using is:
'mysql://user:password@ip:port/database?sslidentity=client-identity.p12&sslpassword=mypassword&sslcert=rootca.cart'
Prisma information
Environment & setup
Trying to connect to: MySQL Server V8.0.31 @ Ubuntu 22.04
Prisma Version
The text was updated successfully, but these errors were encountered: