我用Connector/Net 6.9读取MySql 4.1 时,会报以下错:
1.Connector/Net no longer supports server versions prior to 5.0
2.Unable to connect to any of the specified MySQL hosts.
1.Connector/Net no longer supports server versions prior to 5.0
2.Unable to connect to any of the specified MySQL hosts.
后来我下载 http://dev.mysql.com/downloads/connector/net/5.0.html
安装就可以解决了
并引用MySql.Data 5.0读取连接数据就可以了。