MySql.Data.MySqlClient.MySqlException: “The host localhost does not support SSL connections.”

I had the same problem today when moving from MySql.Data 7.0.7 to 8.0.8. I was able to move forward adding the “SslMode=none” in the connection string.

You will endup with something like:

server={0};user id={1};password={2};persistsecurityinfo=True;port={3};database={4};SslMode=none

(replacing the values with your database details)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)