1>C#连接MySQL异常:The host localhost does not support SSL connections.
需要在连接字符串加入:SslMode = none;即可解决问题。
2>.net连接MySql:Unable to connect to any of the specified MySQL hosts.
连接字符串的server 的ip地址不对。
2022-10-04 13:53:08
1>C#连接MySQL异常:The host localhost does not support SSL connections.
需要在连接字符串加入:SslMode = none;即可解决问题。
2>.net连接MySql:Unable to connect to any of the specified MySQL hosts.
连接字符串的server 的ip地址不对。