Hi Renald Noordam Currently, there isn’t a fully supported fix for the MySQL V2 connector issue in Synapse that covers all the SSL and authentication scenarios like the older version did. The product team has acknowledged the gaps and is working on updates, but those updates are not yet released.
As a workaround for your scenario, you can try the following:
- Ensure your MySQL server supports SSL with valid certificates, and explicitly set the SSL mode to
Required
orVerifyCA
in the connection. - Add
AllowPublicKeyRetrieval=True
in your connection string along with SSL enabled to handle thecaching_sha2_password
authentication error. - If possible, temporarily switch your MySQL user to use
mysql_native_password
instead ofcaching_sha2_password
:ALTER USER 'your_user'@'%' IDENTIFIED WITH mysql_native_password BY 'your_password';
These steps have helped others facing similar issues while waiting for the updated connector.
Hope this helps. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.