c# Connect to MySQL prompt SSL Connection error

created at 09-06-2021 views: 2

solution

Add SslMode=None after the connection string

example:

server=127.0.0.1;port=3306;user id=root;password=zaq;database=yehe;CharSet=utf8mb4;Allow Zero Datetime=true;SslMode=None;
created at:09-06-2021
edited at: 09-06-2021: