does not support SSL connections
程序员文章站
2022-06-11 11:51:02
语言:C 开发工具:Visual Studio 2017 问题场景介绍: nuget引用的MySql.Data版本是6.10.5,MySQL的数据库连接串如下: 可以正常访问MySQL数据库 更新nuget,MySql.Data版本是8.0.11,报错 解决方案:连接字符串添加 修改后的数据库连接串 ......
语言:C#
开发工具:Visual Studio 2017
问题场景介绍:
nuget引用的MySql.Data版本是6.10.5,MySQL的数据库连接串如下:
Server=xxx;Database=xxx;User=xxx;Password=xxx;Port=3306;CharSet=utf8;Allow User Variables=True
可以正常访问MySQL数据库
更新nuget,MySql.Data版本是8.0.11,报错The host xxx does not support SSL connections.
解决方案:连接字符串添加SslMode=none;
修改后的数据库连接串如下:
Server=xxx;Database=xxx;User=xxx;Password=xxx;Port=3306;CharSet=utf8;Allow User Variables=True;SslMode=none;
推荐阅读
-
does not support SSL connections
-
【iOS异常】 JSonKit does not support Objective-C Automatic Reference Counting(ARC)
-
MYSQL出现" Client does not support authentication "的解决方法
-
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
-
mysql Client does not support authentication protocol requested by server; consider upgrading MySQL
-
DateConverter does not support default String to 'Date' conversion
-
用root用户登陆PHPmyAdmin出现Client does not support authentication ...
-
使用TortoiseGit拉取远程代码时报错ssh variant ‘simple‘ does not support setting port及SSH2_MSG_UNIMPLEMENTED
-
解决Navicat连接MySQL时“Client does not support authentication protocol requested by server; consider upgrading MySQL client”的问题
-
MYSQL出现" Client does not support authentication "