mariadb: disable SSL and server cert verification by default#731
mariadb: disable SSL and server cert verification by default#731methane merged 6 commits intoPyMySQL:mainfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #731 +/- ##
=======================================
Coverage 88.86% 88.86%
=======================================
Files 7 7
Lines 548 548
=======================================
Hits 487 487
Misses 61 61 ☔ View full report in Codecov by Sentry. |
…y default. mariadb connector/c changed the default value of MYSQL_OPT_SSL_VERIFY_SERVER_CERT to 1. this change makes it can be disabled by ssl_mode="DISABLED", "PREFERRED", and "REQUIRED".
|
Suffering from same issue here, I was using MySQL with id/pw instead of ssl and worked fine until a few days ago the client in a newly installed python environment returned: Uninstalling mysqlclient, clearing cache and installing mysqlclient==2.2.4 solved the issue for me (with that I tried disabling SSL auth in various methods but I had no luck on mysqlclient==2.2.5. Considering existing users using id/pw might face this issue, disabling ssl auth on default as mysqlclient up to 2.2.4 did might be a better option. |
No description provided.