vs数据连接没有mysql Database数据源:
打开控制面板查看【程序】里是否有以下3个程序
如果没有就要安装啦,首先确定是否安装了mysql,
如果没有安装就直接安装MySQL Installer,在这里顺便安装mysql-connection-net和mysql-for-visualstudio。
mysql Install安装地址:https://dev.mysql.com/downloads/windows/installer/8.0.html
安装时选择【Developer Default】安装类型,记得一起安装mysql-connection-net和mysql-for-visualstudio!!!
如果已经安装了mysql则要单独安装mysql-connection-net和mysql-for-visualstudio。
参考文章:https://www.cnblogs.com/RioTian/p/15541568.html
mysql-for-visualstudio需要根据vs和.net版本选择安装版本
参考文章:https://blog.csdn.net/weixin_44698217/article/details/123337037?spm=1001.2014.3001.5502