当前位置:网站首页>mysql 找不到或无法加载已注册的 .Net Framework Data Provider。
mysql 找不到或无法加载已注册的 .Net Framework Data Provider。
2022-08-09 21:44:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
出现这个问题的根本原因应该是MySQL的相关文件没有安装好,或者是安装好了没有引用到VS中。
首先,下载并安装相关的文件:
1、安装相应数据包
安装mysql-connector-net-6.8.7.msi,下载地址:http://dev.mysql.com/downloads/connector/net/6.8.html
安装mysql-for-visualstudio-1.2.6.msi,下载地址:http://dev.mysql.com/downloads/windows/visualstudio/1.2.html
安装EFTools6.1.3ForVS2012.msi,下载地址:https://www.microsoft.com/en-us/download/details.aspx?id=40762
2、检查是否安装成功
安装完成后,检查控制面板,出现以下图中三项:
3、执行EF安装命令
首先要打开一个解决方案
在VS2012中,点击菜单栏中的工具,选择库程序包管理器中的程序包管理器控制台,输入上面的语句,回车执行。执行命令过程中,需要等不到一分钟,而且要保证联网,看到成功安装后即可。
Install-Package EntityFramework -Version6.1.3
Install-Package MySql.Data.Entity -Version6.8.7
问题解决,但是又出现了版本的问题,正在研究中。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/105736.html原文链接:https://javaforall.cn
边栏推荐
- Xiaohei's leetcode journey: 94. Inorder traversal of binary trees (supplementary Morris inorder traversal)
- TF中random.normal()与random.truncated_normal()
- Ehrlich screening method: Counting the number of prime numbers
- Interpretation of the paper (DropEdge) "DropEdge: Towards Deep Graph Convolutional Networks on Node Classification"
- Xiaohei leetcode's refreshing rainy day trip, just finished eating Yufei Beef Noodles, Mala Tang and Beer: 112. Path Sum
- Shanghai Konan SmartRocket series product introduction (3): SmartRocket iVerifier computer interlocking system verification tool
- 字符串哈希(2014 SERC J题)
- abstract class or interface
- MySQL慢查询的多个原因
- In programming languages, the difference between remainder and modulo
猜你喜欢
随机推荐
Deceptive Dice
Bean life cycle
[Implementation of the interface for adding, deleting, checking, and modifying a double-linked list]
MySQL慢查询的多个原因
Install Mysql8.0 on windos, and solve the problem of re-login exception ERROR 1045 (28000)
Leetcode 93 IP addresses
Word怎么设置图片衬于文字下方?两种方法教你设置Word图片衬于文字下方
宝塔实测-搭建LightPicture开源图床系统
编译原理之文法
Jensen (琴生) 不等式
POWER SOURCE ETA埃塔电源维修FHG24SX-U概述
技术分享 | 接口自动化测试如何处理 Header cookie
STC8H开发(十五): GPIO驱动Ci24R1无线模块
PHP 二维数组根据某个字段排序
np中的round函数,ceil函数与floor函数
同步锁synchronized追本溯源
Bean生命周期
Word第一页不要页眉怎么设置?设置Word首页不要页眉方法教程
MySQL:错误1153(08S01):得到的数据包大于“ max_allowed_packet”字节
几种绘制时间线图的方法









