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)

相关推荐
zxcvb1536 小时前
MySQL三种备份方式:原理、优缺点与实操选型指南
数据库·mysql
开开心心就好6 小时前
游戏安装报错缺环境?运行库整合包补上
java·mysql·游戏·pdf·ocr·音视频·lua
Resean02238 小时前
MySQL 系列(03):SQL 是怎么被执行的——解析器、优化器与执行器
android·sql·mysql
开开心心就好9 小时前
重复图片查找工具,拖入文件夹就开搜
java·mysql·pdf·ocr·vim·音视频·emacs
stormsha9 小时前
MySQL 起不来只报 `Failed to set datadir`:真凶是 my.ini 里的四个字符
数据库·后端·mysql
stormsha9 小时前
`Connection is not available, request timed out after 30000ms`:不是数据库慢,是池子空了
java·后端·mysql
冰暮流星10 小时前
mysql之触发器
android·数据库·mysql
斯内普吖11 小时前
(开源)校园资料分享平台实战指南 基于 Node.js + Express + Vue + MySQL
vue.js·mysql·开源·node.js·express
qq_张文12 小时前
mysql 主从同步
数据库·mysql
普通人613 小时前
MySQL 特殊场景启动命令完全指南(8.0 / 5.7 差异全标注)
数据库·mysql·adb