MySql 8.0 C#连接报错 MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '

解决方法


在连接字符串后面加上   SslMode=None