Visual Studio2019 与 MySQL连接 版本关系

Refer: VS 连接MySQL | mysql-for-visualstudio 的安装-CSDN博客

【精选】用VS2019(C#)连接MYSQL(从0入门,手把手教学)_mysql-for-visualstudio-1.2.9.msi_Flying___rabbit的博客-CSDN博客

一、工具:VS2019需要连接Mysql数据库,则需要先安装以下几个软件

MySQL :: MySQL Product Archives

|------|--------------|-------------------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------------|--------------------------------------------|
| | VisualStudio | mysql-for-visualstudio | mysql-connector-net | mysql-connector-odbc | Mysql数据库服务器 |
| 版本 | 2019 | 1.2.9 | 8.0.28 | 5.1.13 | 5.7.9 |
| 安装包 | | mysql-for-visualstudio-1.2.9.msi | mysql-connector-net-8.0.28.msi | mysql-connector-odbc-5.1.13-winx64.msi | |
| 下载 | | http://dev.mysql.com/downloads/windows/visualstudio/. | https://downloads.mysql.com/archives/c-net/ | https://dev.mysql.com/downloads/connector/odbc/ | https://dev.mysql.com/downloads/installer/ |
| 组件 | | | MySql.Data.EntityFramework.dll MySql.Data.dll | | |
| 安装位置 | | | C:\Program Files (x86)\MySQL\MySQL Connector Net 8.0.28\Assemblies\v4.5.2 | | |

Support information for Companion Products:

Support information for MySQL for Visual Studio:

​​​​ 并且规定mysql-for-visualstudio 必须先于 mysql-connector-net安装:

如果你的 VS 是2019及以上的版本,请务必下载安装 MySQL for Visual Studio 1.2.9 及其以上的版本。

二、开发使用如下VS 2019 + EF6 + MySQL:

Entity Framework 学习系列(2) - MySql Database First 开发方式 - 我是小柒 - 博客园 (cnblogs.com)

相关推荐
郝学胜_神的一滴21 分钟前
C++ Templates 05:那些容易踩坑的技巧性基础知识
c++·visual studio
一技安身1 小时前
【mysql】Windows MySQL 8.4.10 绿色免安装喂饭教程
windows·mysql·adb
斯内普吖1 小时前
(开源)宠物饲养系统实战指南 基于 Java + SSM + Vue + MySQL
java·vue.js·mysql·开源·宠物
ao-weilai1 小时前
MySQL数据库:表约束
数据库·mysql·adb
水饺编程3 小时前
第1章:开发环境搭建,在 Windows 中安装 VS 2019
linux·c语言·汇编·visual studio
1024奇点4 小时前
【仓颉语言入门 · 第26课】
开发语言·ide·开源
FYKJ_20104 小时前
springboot心理健康管理系统86254-计算机课程设计、毕业设计
vue.js·spring boot·后端·python·mysql·django·课程设计
做运维的阿瑞4 小时前
MYSQL从语义到执行计划:UNION、EXISTS、IN 的深度辨析
数据库·sql·mysql
小马同学-15 小时前
MySQL主从复制和读写分离
数据库·mysql
海绵宝宝转agent15 小时前
MySql高频面试八股开源笔记总结
mysql·面试·开源