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)

相关推荐
云贝贝贝10 小时前
腾讯云 TDSQL(MySQL 版)运维高频 6 坑:代理路由、读写分离、分片键、监控、PITR
运维·mysql·腾讯云
山岚的运维笔记14 小时前
mysql 专业笔记 -- 第 8 章:使用变量
运维·数据库·笔记·后端·学习·mysql·dba
JavaPub-rodert18 小时前
Redis 和 MySQL 如何保证数据一致性?从业务方案到底层原理完整讲解
数据库·redis·mysql
笑梦无境20 小时前
mysql的安装及配置(3)
数据库·mysql·adb
Gent_倪20 小时前
MySQL分库、分表、分区详解
数据库·mysql
Wang's Blog20 小时前
Vibe Coding一人即团队系列54:云服务器 Node.js 与 MySQL 9 环境搭建及配置指南
服务器·人工智能·mysql·node.js
数智启示录21 小时前
Apache Kafka 幂等 Producer 的边界:Exactly-Once 到了 MySQL 为什么失效 【Kafka合集】
数据库·经验分享·分布式·mysql·面试·kafka·apache
—Miss. Z—21 小时前
计算机三级数据库技术—填空题
数据库·mysql
水饺编程1 天前
第5章,[Win32 章节] :圆角矩形教学插图绘制程序
c语言·c++·windows·visual studio
2501_915106321 天前
第一次开发 iPhone App,可能碰到的问题,解决办法
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程