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地址不对。
原文地址:https://www.cnblogs.com/uftwkb24/p/9722185.html
时间: 2024-10-18 01:25:21