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)

相关推荐
Costrict6 分钟前
解锁新阵地!CoStrict 现已支持 JetBrains 系列 IDE
大数据·ide·人工智能·深度学习·自然语言处理·ai编程·visual studio
AlphaFinance28 分钟前
Windows下Vscode连接到WSL的方法
ide·vscode·编辑器
可观测性用观测云1 小时前
阿里云 RDS MySQL 可观测性最佳实践
mysql
白云偷星子2 小时前
MySQL笔记14
数据库·笔记·mysql
绵绵细雨中的乡音3 小时前
MySQL 常用函数实操指南:从基础到实战案例
数据库·mysql
凉栀お_4 小时前
MySQL相关知识查询表中内容(第二次作业)
数据库·mysql
Java水解4 小时前
【SQL】MySQL中空值处理COALESCE函数
后端·mysql
流水线上的指令侠5 小时前
使用C#写微信小程序后端——电商微信小程序
微信小程序·小程序·c#·visual studio
shuair6 小时前
mysql8支持远程访问 -mysql5.7支持远程访问
linux·mysql
白云偷星子6 小时前
MySQL笔记13
数据库·笔记·mysql