Dapper更新至版本1.50.4,连接MySQL,提示The host <IP> does not support SSL connections.

更新Dapper之后,连接MySQL出现报错提示MySql.Data.MySqlClient.MySqlException:“The host IP does not support SSL connections.”

解决方案:连接字符串追加 SslMode=None;

解决方案参考: 数据库操作是的一下错误记录

猜你喜欢

转载自blog.csdn.net/u014654707/article/details/80050603