连接MySQL数据库得到错误“Unable to find the requested .Net Framework Data Provider”

连接MySQL数据库得到错误“Unable to find the requested .Net Framework Data Provider”

发现machine.config文件中,DbProviderFactories没有注册mysql
使用的是最新的安装包:Connector/Net 6.7.4

Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows (see http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html).

解决方法:
1. 安装前一个版本的mysql connector

2. 使用上面提到的:mysql installer

你可能感兴趣的:(framework)