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;
for example: server=127.0.0.1;port=3306;user id=root;password=zaq;database=yehe;CharSet=utf8mb4;Allow Zero Datetime=true;SslMode=None;