Add My SQL data source in VIsual Studio express 2013

巧了我就是萌 提交于 2019-12-02 19:38:03

问题


I already install this two requirement:
1-Connector/Net 6.8.1 beta or higher version to check the Connector/Net & Entity Framework features. (download at: http://dev.mysql.com/downloads/connector/net/ on the development releases).
2-https://cdn.mysql.com/Downloads/MySQLInstaller/mysql-visualstudio-plugin-1.1.1.msi

But still not sure why the data source still not appear in the option. Anyone have idea why? Please advise.

BTW I'm using Visual Studio Express 2013.


回答1:


That's because Visual Studio Express does not allow you to install extensions. This is one of the limitations of the Express edition. You need to add everything MySQL related manually.

This is also stated here:

MySQL for Visual Studio does not support Express versions of Microsoft development products, including the Visual Studio and the Microsoft Visual Web Developer.

To use MySQL Connector/Net with an Express versions of Microsoft development products, use MySQL Connector/Net 6.7.4 or later, without installing the MySQL for Visual Studio.

That does not mean that you cannot use MySQL in the Express Edition. It just means that you don't get to use the nifty design-time tools ;-)




回答2:


what you can do if you have access , create an access DB that use ODBC to link to the MySQL Server , and then import the access DB as a data source in VS Express.

That way you are Using Access as a middle man to handle the connection :

VS Express <--> Access DB <--> Mysql



来源:https://stackoverflow.com/questions/22472891/add-my-sql-data-source-in-visual-studio-express-2013

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!