当前位置:网站首页>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
边栏推荐
- TF使用constant生成数据
- 万字总结:分布式系统的38个知识点
- 【测试】语句覆盖,判定覆盖,条件覆盖,路径覆盖
- 2021(ICPC)亚洲区域赛昆明站(CGHIJLM)
- SQLi-LABS Page-2 (Adv Injections)
- 2.1.5 大纲显示问题
- 小黑leetcode之旅:94. 二叉树的中序遍历(补充Morris 中序遍历)
- supervisor 命令操作大全「建议收藏」
- Daily practice of PMP | Do not get lost in the exam -8.8 (including agility + multiple choice)
- linux定时执行sql文件[通俗易懂]
猜你喜欢

Simple questions peek into mathematics

几种绘制时间线图的方法

浅谈Numpy中的shape、reshape函数的区别

编程时请选择正确的输入法,严格区分中英文

筑牢安全防线 鹤壁经济技术开发区开展安全生产培训
![[Generic Programming] Full Detailed Explanation of Templates](/img/9d/7864f999cb2e4edda2ee7723558135.png)
[Generic Programming] Full Detailed Explanation of Templates

Synchronization lock synchronized traces the source

Bean生命周期

PMP daily practice | didn't lost a 8.9 (including agile + multi-select)

Xiaohei leetcode's refreshing rainy day trip, just finished eating Yufei Beef Noodles, Mala Tang and Beer: 112. Path Sum
随机推荐
埃氏筛选法:统计素数个数
SecureCRT强制卸载
微软word怎么转换成pdf文件?微软word转换为pdf格式的方法
C语言中的文件是什么?
Pagoda measurement - building LightPicture open source map bed system
Daily practice of PMP | Do not get lost in the exam -8.8 (including agility + multiple choice)
微软Excel表格点击单元格行和列都显示颜色怎么弄?聚光灯效果设置
单元测试
Cookie、session、token
STC8H development (15): GPIO drive Ci24R1 wireless module
Interpretation of the paper (DropEdge) "DropEdge: Towards Deep Graph Convolutional Networks on Node Classification"
线段相交的应用
场效应管Mosfet之雷卯Leiditech对应英飞凌Infineon
SecureCRT 设置超时自动断开连接时长
PMP daily practice | didn't lost a 8.9 (including agile + multi-select)
Synchronization lock synchronized traces the source
json case
PMP每日一练 | 考试不迷路-8.8(包含敏捷+多选)
Word第一页不要页眉怎么设置?设置Word首页不要页眉方法教程
Bean生命周期