Home » Mysql » MySQL Data Source not appearing in Visual Studio

MySQL Data Source not appearing in Visual Studio

Posted by: admin November 1, 2017 Leave a comment

Questions:

I just installed the ADO.NET connector from here http://dev.mysql.com/downloads/connector/net/

Yet MySQL doesn’t appear as a data source like it should. I tried restarting Visual Studio. It doesn’t fix my issue. Did I install the wrong connector?

enter image description here

EDIT: STill nothing. I’m using Visual Studio Express For Desktop. Do I need to pay for the Ultimate edition to use a MySQL Data Source?

Answers:

I was having the same problem just now. I solved it by uninstalling the latest Connector/NET drivers (6.7.4) and then installed the older drivers (6.6.5) and it works.

I am using Visual Studio 2010. I uninstalled the latest ones because I figured they were somehow related to .NET4.5, which I’m not able to use.

Edit:

Supposedly another way is to register the MySql Connector with various Visual Studio versions (2010/2012/2013/2015…) during installation: Go to Modify Product Features and select all the relevant Visual Studio versions.

see Image

Questions:
Answers:

Stuzor and hexcodes solution worked for me as well. However, if you do want the latest connector you have to download another product. From the oracle website:

Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows (see http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html).

Questions:
Answers:

I found this on the MySQL support page for the Visual Studio connectors.

It appears that they do not support the MySQL to Visual Studio EXPRESS editions.

So to answer your question, yes you may need the ultimate version or professional edition – just not Express to be able to use MySQL with VS.

http://forums.mysql.com/read.php?38,546265,564533#msg-564533enter image description here

Questions:
Answers:

From the MySql site.

Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows (see http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html).

Questions:
Answers:

Tried everything but on Visual Studio 2015 Community edition I got it working when I installed MySQL for Visual Studio 1.2.4+ from
http://dev.mysql.com/downloads/windows/visualstudio/
At time of writing I could download 1.2.6 which worked for me.

enter image description here

Release notes of 1.2.4 which adds support for VS2015 can be found at http://forums.mysql.com/read.php?3,633391

Questions:
Answers:

The Connector 6.7.x does not integrate the native data provider anymore. For “Visual Studio 2012” or less, you have to install “MySQL for Visual Studio”.
If you are using “Visual Studio 2013” there is no possibility to integrate MySQL for the “Entity Framework” yet.
A solution should be available on 10/2013!

Questions:
Answers:

have you tried using this link? it’s an extension. i had the same problem but not express version and it worked. it might be useful for you too.

Questions:
Answers:

Uninstall later version and install mysql-connector 6.3.9 for visual studio 2010.

After installing add the dll files and restart the visual studio.

It works fine.

Questions:
Answers:

i install mysql for visual studio and the problem simply solved.although version of my visual studio is 2012!

Questions:
Answers:

I tried to install to VS 2015 using the Web installer. It seemed to work, but there was still no MySQL entry for Data Connections. I ended up going to http://dev.mysql.com/downloads/windows/visualstudio/, using it to uninstall then re-install the connector. Not it works as expected.