C#: connect to MySQL and prompt SSL connection error [How to Solve]

Append the connection string with  SslMode=None
for example: server=127.0.0.1;port=3306;user id=root;password=zaq;database=yehe;CharSet=utf8mb4;Allow Zero Datetime=true;SslMode=None;

Similar Posts: