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 分钟前
基于Android的音乐播放器/基于android studio的音乐系统/音乐管理系统
android·ide·android studio
熊猫片沃子1 小时前
忘记Mysql登录密码,还在傻傻的重装服务吗❓
前端·后端·mysql
金金金__2 小时前
MySQL ZIP安装教程:从解压到启动
mysql
小句3 小时前
MySQL索引
数据库·mysql
战族狼魂3 小时前
Excel 连接阿里云 RDS MySQL
mysql·阿里云·云计算·excel
九转苍翎4 小时前
全面解析MySQL(5)——“索引、事务、JDBC”三大核心
mysql
feihui5 小时前
MySQL ( InooDB ) 的锁规则和锁行为
mysql
winfield8215 小时前
间隙锁(Gap Lock)
数据库·mysql
ghhgy5316 小时前
Windows已经安装了一个MySQL8,通过修改配置文件的端口号跑2个或多个Mysql服务方法,并注册为系统服务
windows·mysql
fananchong216 小时前
制作 VSCode 插件
ide·vscode·编辑器·ai辅助编程·vscode 插件