MySQL Workbench not opening on Windows - mysql

I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it's standalone, right? I have XAMPP for MySQL. Any dependency etc?

You need to install the following in order to run the current version of MySQL Workbench:
Microsoft .NET Framework 4.5.2
Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019
See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html
.

Update 2020:
Unfortunately this is still happening:
Download .NET 4.0 (My machine already had it.)
Download Visual C++
As the above solution states. Download the Mysql workbench
installer.
I still don't know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.

What works for me (workbench 64bit) is that I installed Visual Studio 2015, 2017 and 2019
here is url:
https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads
I installed both x86: vc_redist.x86.exe and x64: vc_redist.x64.exe

In my case, i tried all solutions but nothing worked.
My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)
The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).
so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/

There are two prerequisite requirements need to install MySql Workbench as follows.
.Net Framework 4.0
Microsoft Visual C++ 2010
When .Net Framework 4.0 does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010 does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013 instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.
Microsoft Visual C++ 2013

In Windows 10 I browsed to %APPDATA%\MySQL\Workbench\ then deleted the workbench_user_data.dat file
Doing so lost my MySqlWorkbence settings but allowed MySqlWorkbence to open.

As per the current setup on June, 2017
Here is the downloadable link for Visual C++ 2015 Redistributable package : https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe
Hope this will help, who are struggling with the download link.
Note: This is with regards to MySQL Workbench 6.3.9

I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.

it might be due to running of xampp or wampp server stop all services running and try to open mysql command line

I found I needed more than just the Visual C++ Redistributable 2015.
I also needed what's at this page. It's confusing because the titles make it ambiguous as to whether you're downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.

You should have these two already installed in your system:
Microsoft Visual C++ 2015-2019 Redistributable
Microsoft .NET Framework 4.5.2
I did these two installations for MySQL Workbench 8.0 CE.

None of these suggestions worked for, however setting compatibility to Vista worked and now the workbench opens again.

2022 case:
My MySQL Workbench was working normally and from one moment it just didn't want to open anymore. I've lost almost half a day trying to fix it.
In folder %APPDATA%\MySQL\ I had to delete the whole folder Workbench,
instead of deleting just workbench_user_data.dat file (which didn't help)

Given that there's so little on this on the web, I'll provide my answer despite this thread being over two years old: it's probably a no-brainer but run Workbench as Administrator (doh!)

Related

WampServer - mysqld.exe can't start because MSVCR120.dll is missing

I've tried to run wampserver on my local side, but mysql server doesn't run.
when I try to install service, it give me error. I searched the answer all day and found some answers on here and there.
but any solution doesn't work for me. I tried to install warpserver on windows7 home OS vmware
Any help for me?
None of answers in google worked for me . This is how I solved my problem :
According to Wampserver forum you must install ALL versions of Microsoft Visual C/C++ Redistributable(2008 , 2010 , 2012 , 2013 , 2015 , 2017 ... ) . So you have to download them one by one and then install all of them (Not just one/latest ) .
I've already packed them here (x86) and here (x64). Just download and extract them then install all distributions at once then restart your Windows and run Wampserver.
Alternatively, you could download the full package from Microsoft's official page: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
That's it!
I finally found solution to fix my problem.
I've tried several ways to fix above problem and but nothing work for me.
As you know, WampServer use some visual c++ redistributable packs to run. And it makes user confuse which version of it should be installed (at least in my case)
After struggling few hours to fix it, I found good software - check_vcredist which guide wampserver installation easily.
http://wampserver.aviatechno.net/files/tools/check_vcredist.exe
Before you install WampServer, you'll get all information what you're missing on your laptop now if you run this software. Please follow it's notice. then WampServer will be installed successfully.
I hope this answer give some help to someone who is stealing his time to install WampServer.
Download visual c++ redistributable packs and install
Link: https://www.microsoft.com/en-in/download/details.aspx?id=30679
Restart and it should work
You should install the following packages:
Microsoft Visual C++ 2012 (11.0)
Microsoft Visual C++ 2013 (12.0)
Microsoft Visual C++ 2015-2019 (14.0)
👇Try this one, it works for me after facing bunch of attempts👇
Solution for Wamp server problem(msvcp120.dll or msvcp120.dll or any other missing file)
Install wamp server
if the problem encounters as msvcp120.dll or any other file missing
search for the particular file with correct system ( whether 32 or 64bit ) size, then download the particular missing file, the file size is about ( 0.5 - 0.95 MB )
then extract the file and paste it in (local disk=>windows=>search for name as system 32 or 64)and click it.
then it'll show the list of files, in that location, paste the extracted file within the particular system 32 or 64
then uninstall the wamp server)
After that must shut down your PC
then turn on PC
reinstall wamp server .
Atlast, no problem will exist and green icon will also be displayed👍
Solved just installing:
Visual Studio 2015, 2017 and 2019: x64 https://aka.ms/vs/16/release/vc_redist.x64.exe
Visual Studio 2013 (VC++ 12.0): https://aka.ms/highdpimfc2013x64enu
Visual Studio 2012 (VC++ 11.0): https://download.my.visualstudio.com/db/en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523.exe?t=4e421644-264c-4b19-b362-eab41d52c831&e=1607795665&h=5bc66a728d26f6912200e633437ad9a9&su=1
And then, wampserver3.2.3_x64.exe
step 1 :
download check_vcredist.exe and run it.
now you can see what you don't have.
step 2 :
download what you don't have from here and install them.
I resolved with logic, I saw that the problem was with mysqld (MYSQL oracle in 3306), then I looked for the mysql 5.7 requirementes in the official page, and was vcredist c++ 2013 and downloaded, installed and solved. Only uninstall and reinstall wamp. But vcredist c++ 2013 was the solution for me for wamp 3.2.3 version.
download the missing file from
https://www.dll-files.com/msvcp120.dll.html
Add the file to C:\Windows\System32

MySql 5.7 installer fails to detect VS 2013 redistributable

Trying to install the latest version of MySQL Server - 5.7.19 - on a clean Windows server machine using the MySql installer MSI package.
On first attempt it told me it needed a prerequisite of the Visual Studio 2013 Redistributable and installed it. When trying to install the server, however, it then complains:
1: Action 10:59:21: INSTALL.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
1: Action 10:59:21: FindRelatedProducts. Searching for related
applications
1: Action 10:59:21: AppSearch. Searching for installed applications
1: Action 10:59:21: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2013 Redistributable.
Please install the Redistributable then run this installer again.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.
I've tried rebooting the machine - problem persists.
I've checked in the registry to ensure Windows knows the package is installed, which it does.
I've tried installing the previous version of MySql and that installs fine.
So I cleaned out all the installations and re-ran the package, this time also selecting Workbench, Shell and some other useful tools. All of it installed fine - except the Server. That's still demanding the redistributable which is already installed.
Where can I go from here?
I had the same issue today while installing MySQL 5.7 and not sure how shall I proceed and found your questions. I was sure that I have installed the 64bit version of Visual C++ Redistributable Packages on my machine. Then I installed a 32-bit version of the same package (URL: https://www.microsoft.com/en-in/download/details.aspx?id=40784) and the MySQL Installer detected that and proceed with the installation.
Looks like the installer was looking for 32bit install path. Hope this help.
I had a similar issue while installing MySQL 5.7.19 where I was installing the x64 version of visual C++ redistributable and it refused to work. Eventually was able to get around it in a similar way to Prabhat, but installed the x86 version instead. Working so far.
Would have commented this on Prabhat's answer, but reputation restrictions.
I had a same issue, I tried multiple times, even removed multiple version of the Visual Studio Redistribute 2013, but MySql V5.7 didn't get install. I tried both x86 and 64 bit, but result was same.
Solution:
I have downloaded MySql Version 5.6 instead of 5.7, then its gets installed like a charm.
Note:
Seems like there must be some issue with the MySql V 5.7 installer.
For a 64-bit MySQL server installation, I suggest updating the 64-bit version of the Visual Studio 2013 Redistributable Package (in my case from 12.0.30501 to 12.0.40660); the Redistributable Package update can found here. I came across this solution on this MySQL Forum post, but used the answer by Prabhat (on a different server) before and it worked too.
What you need to do is to install the Visual C++ Redistributable Packages for Visual Studio 2013, doesn't matter if you have installed the ones of 2015 for some reason. Install both x86 and x64 versions. Here's the link to the installers. Hope it works for you, it did for me.
I also had a problem installing MySQL 5.7.19 because installation claimed C++ Redistributable 2013 not installed when both 16 and 32 bit version were already installed. None of the other answers here worked for me.
What I discovered is that after repairing my C++ Redistributable, the installer then found it.
After checking the solutions posted by users in this thread, both solutions (either installing runtime for both architectures 32 and 64 bits or installing a newer version of runtime) work.
The better solution is to install the newer version of VC++ 2013 x64 runtime. Please make sure you are installing the one with a file version of 12.0.40660.0 as the one the MySQL Installer currently installs is version 12.0.30501.0, and any with this or lower version may cause errors. Thanks to Jafeth Carrillo Salas for the best solution, and to all other users that contributed with other workarounds.
We will fix this issue using the newer runtime version, you can track the status at this MySQL bug link.
My computer system language is Chinese.
At first,i install English version of visual c++ 2013 , it can't work.
And than, i uninstall visual c++ 2013(en). install visual c++ 2013(cn).
it works.
Try following steps:
step 1. Got to https://www.microsoft.com/en-in/download/details.aspx?id=40784
step 2. Click for downloading Visual C++ Redistributable Packages for Visual Studio 2013
step 3. Check vcredist_x64.exe for 64 bit or vcredist_x86.exe for 32 bit
step 4. Click next and after downloading Install vcredist_** in your machine
After then relaunch MySQL installer and repeat the mysql installation process.

MySql Workbench installer requires Visual C++ 2015 Redistributable Package to be installed, but it already is installed

I've looked everywhere online, but it doesn't look like anyone has been able to resolve this issue.
When I download and try to install MySql Workbench, I get prompted to install Visual C++ Redistributable package (2015) to be installed. The wizard then takes me directly to this website in order to install it.
However, whenever I try to install either, it just tells me they're already installed.
After googling this for about an hour, I found some other people had this problem which apparently was resolved by following the instructions from this website. I downloaded instaedit and followed the instructions, but I continue to get the same error.
I've been at this for two days now and am going to go crazy. If someone can help me with this I'd be very grateful. I'm using Windows 10,
It turns out that VC++ 2017 redistributables are the culprit because they delete the registry keys used by VC++ 2015 redistributables.
See this Microsoft Developer Community page for solution (TL;DR; you have to repair VC++ 2017 redistributables as this will restore missing 2015 registry keys).
This process is as Eric describes:
The steps are essentially: go to Programs in Control Panel (or "Add or Remove Programs" in Windows 10's "Settings"), find the Microsoft Visual C++ 2017 Redistributable, click it and choose Change/Modify, then choose "Repair
I got it working running latest mysql-workbench.msi from cmd.exe with escalated permissions:
run cmd.exe as Administrator
cd to folder where msi resides
run it
Tried and tested.
I was getting an error: mysql workbench requires the visual c++ 2019 redistributable package to be installed
I visited the link: https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads
Downloaded and installed the file, And boom it was working.
None of the solutions work for me until I install the old version:
mysql-workbench-community-6.3.8-winx64.msi
I tried the solutions posted here, but continued to run into the same errors. Oddly enough, installing an older version of Workbench actually resolved the problem. I wasn't exactly happy about this because I went to school and they showed us the most recent one, but this is the easiest and most direct solution.
If you have Microsoft Visual C++ 2017 Redistributable (x64) or (x86), please uninstall them both and run again the MySql Workbench installer.
After the installation is done, install back Microsoft Visual C++ 2017 Redistributable packages.
Here is the link to download MS V C++ 2017 Redist. :
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
First try to uninstall completely Visual C++ Redistributable package (2015) and install it again. If that does not help please try something else:
Open regedit and try to find key
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64
or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64
if you see that keys check value Installed=1 (DWORD)
If you found these keys and you got message about not installed c-runtime try to use processmonitor from sysinternals https://technet.microsoft.com/en-us/sysinternals/processmonitor and check if you have access to registry.
If you don't have these keys in your registry you can try to create it manually
and see if that helps.
I ran into this same problem and wanted to avoid installing an old version. I got success downloading the 32 bit visual studio version from:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145
I suspect it has something to do with the pathing in the installer which only identifies the 32 bit version of the visual studio library.
Uninstall VC Redistributable 2017 x64 x86 from your computer.
Install VC Redistributable 2015 x64 x86 to your computer.
Install MySQL Workbench 8.0 to your computer.
Run MySQL Workbench 8.0 and close it.
Install VC Redistributable 2017 x86 x64 to your computer.
Run MySQL Workbench 8.0
In my environment, I was able to fix this issue by repairing "Microsoft Visual C++ 2017 Redistributable" both (x64) and (x86). Yes, it sounds funny that the version I repaired was 2017 instead of 2005, but it worked for me. Here's the steps:
Go to Control Panel > Uninstall a program
Highlight Microsoft Visual C++ 2017 Redistributable (x64) and/or Microsoft Visual C++ 2017 Redistributable (x86)
Click Change button
Click Repair
The installer may prompt you to reboot your machine
Repeat the steps above if both x64 and x86 versions are installed.
After rebooting machine, I was able to install MySQL Workbench.
I had the same experience, it simply needed Administrative rights; launch with admin or launch command prompt as an admin (administrative privileges) and then launch the latest installer (I installed 8.0 successfully this way).
See below image of command prompt (must show "Administrator:" in title) and successful installation from this window
I have been in the same situation and I resolved this problems following the next steps:
Using Windows
Open Control Panel.
Select Install and uninstall programs
Find Visual C++ Redistributable 2015.
Select it, Wait for the dialog box, and choose Repair
Later, reapeat the same step, in (x86) version.
Remember, Apply this only 2015 version.
This has been reported as a bug on the MySQL Bugs site:
https://bugs.mysql.com/bug.php?id=91953
other similar bugs 87570, 88000, 88338, 85908,
A common error appears to be not having .NET upto date,
while other possible solutions include:
Downloading mysql for visual studio 1.2.8
Manually create the Key for Visual Studio 2015 (not recommended)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS
WorkRound that worked for me
- stop Visual C++ 2017 dependant programs
- remove Visual C++ 2017 Redistributable
- install Visual C++ 2015 Redistributable
- install 'MySQL Workbench 8.0.12'
- run 'MySQL Workbench 8.0.12' (need to run and close before updating to 2017)
- close 'MySQL Workbench 8.0.12'
- re-install Visual C++ 2017 Redistributable.
The issue here is permissions. When running the MSI, AND if your local policy is set to (prompt for everything), you will encounter this issue because the MSI isn't prompting for credentials to browse the registry to look and see if c++ redistributable is installed.
Solution.
Run the msi as an admin.
how i did that:
download and open the workbench msi in a msi editor, like InstEd. from within InstEd, run the package as an admin.
The best solution to install Microsoft Visual C++ 2015 Redistributable Package is by:
1 - Select the Start button > All programs > Windows Update.
2 - In the left pane, select Check for updates.
3 - If any important updates are found, select the link to view available updates. In the list of updates, select Service Pack for Microsoft Windows (KB976932) and then select OK.
4 - Select Install updates. Administrator permission required
You might be asked for an admin password or to confirm your choice.
5 - This is Windows 7 and Windows Server 2008 R2 Service Pack 1 (KB976932) Page Here
My situation: I have installed Microsoft Visual C++ 2017 Redistributable (x64) and (x86) but the Mysql installer(8.0) requires a 2015 version.
After I uninstalled the 2017 version to try to install a 2015 one, whatever times I did installing&uninstalling of 2015 version, the installer just could not detect that I have installed the 2015 version. Then I checked the regidit and found out that there was no key and value for the 2015 version.
Solution:
Then I reinstalled the 2017 version with the 2015 version installed in my computer before. It works fine. The Mysql installer is able to detect the Microsoft Visual C++ 2015. And the regidit has the key and value for version 2015 & 2017. What's interesting is it seems that the version of 2017 & 2015 share the same key root in regidit, which is
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64.
Thanks for some of the threads which really open my thought.
When I tried to install MySQL Workbench 8.0.12 for my windows 10 pro x64bit (version 1803) I have faced same issue but after few try i find Microsoft Visual C++ Redistributable package x86 & x64 for 2008, 2010, 2012, 2013 & 2017 already installed but there is no 2015 version which is required by MySQL Workbench 8.0.12. But when i tried to install Microsoft Visual C++ Redistributable 2015 it says already installed. To solved it i just uninstalled 2017 and then install 2015 after that reinstall 2017 and then installed MySQL Workbench and everything worked just fine.
Copied from #miha's URL
Microsoft C++ Redistributable Repair List:
Microsoft Visual C++ 2012 Redistributable x64
Microsoft Visual C++ 2012 Redistributable x86
Microsoft Visual C++ 2013 Redistributable x64
Microsoft Visual C++ 2013 Redistributable x86
Open Programs and Features.
a. Start > Control Panel > Programs > Programs and Features.
b. Search > Programs and Features.
Select Microsoft C++ Redistributable, right-click and click on Change.
On Microsoft C++ Redistributable Setup, click on Repair.
Click on Close once setup is successful.
Do not use the "mysql-workbench-community-8.0.17-winx64.msi" installer, instead use the "mysql-installer-web-community-8.0.17.0.msi" installer. From within this installer install the workbench.
An incorrect version of vc_redist.x86 was creating issue in my win 10 machine. Uninstalled this and installed vc_redist.x64. After this the workbench installation got completed successfully.
You just need to update the 2017 C++ Redistributable, because that is causing the issue.
As the Mysql need 2015 C++ Redistributable, but the 2017 one has deleted the registry of 2015.
Just update it.
Go to Control Panel -> Programs -> Programs and Features.
Select Microsoft C++ Redistributable, click on Change.
Then click on Repair.
Close once setup is successful.
After that you need to restart the computer.
(Remember to update both the x86 and x64 if you have two.)
I got installed without restarting.
Download: The latest supported Visual C++ downloads
download link: https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0
I used the MySQLInstaller to install the required C++ Package and MySQL Workbench.
Download https://dev.mysql.com/downloads/windows/installer/8.0.html
In the Installer: Select Products -> Select Applications -> Select MySQL Workbench
Add to list, click next
Execute installation missing package
Install MySQL Workbench
Done

MySQL Data Source not appearing in Visual Studio

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?
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?
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.
Update #1:
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.
Update #2 - Visual Studio 2019 Update:
When I installed MySQL Community with the ConnectorNET and VisualStudio Plugin options included - MySQL didn't show up as a data provider in Visual Studio.
The installer I used included the VS Plugin version 1.2.9, which had supposedly fixed installation issues from 1.2.8, but still didn't work for me...
The solution for me was to uninstall the Connector and the Visual Studio Plugin, download them as individual components, and then install them separately (not as part of the MySQLServer Installer). Install the Connector first, then VS plugin after.
Connector Download
VS Plugin Download
I found the solution here, Thanks to #LambertHeenan.
NOTE about Visual Studio Express
The OP asks whether MySQL is supported with Visual Studio Express (which as far as I can tell has been renamed to Visual Studio Community). In the past MySQL officially didn't support Visual Studio Express, as per #Paul's answer below, but they do officially support Visual Studio Community 2017 and 2019, according to this page.
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).
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-564533
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).
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.
Release notes of 1.2.4 which adds support for VS2015 can be found at http://forums.mysql.com/read.php?3,633391
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!
Just struggled with Visutal Studio 2017 Community Edition - none of above options worked for me.
In my case what i had to do was:
Run MySQL Installer and install/upgrade: Connector/NET and MySQL for Visual Studio to current versions (8.0.17 and 1.2.8 at the time)
Run Visual Studio Installer > Visual Studio Community 2017 > Modify > Individual components > add .NET Framework Targeting Packs for 4.6.2, 4.7, 4.7.1 and 4.7.2
Reopen project and change project target platform to 4.7.2
Remove all MySQL-related nuGET packages and references
Install following nuGET packages: EntityFramework, MySql.Data.Entity, Mysql.Data.Entities
Upgrade following nuGET packages: MySql.Data, BouncyCastle nad Google.Protobuf (for some reason there is an update available just after install)
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.
i install mysql for visual studio and the problem simply solved.although version of my visual studio is 2012!
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.
I have faced the same problem and i have installed mysql-connector-net-8.0.11. But in visual studio is not showing the db connector for mysql. Then I was installed the mysql-for-visualstudio-1.2.8 and run the visual studio. Its working fine.
Thank you!

mySQL DataSource on Visual Studio 2012

I've been reading about mySQL DataSource and the ability to use mySQL with Entity Framework, but I can't really generate EF with mySQL without the use of the DataSource Dialog
How can I add mySQL Database to such dialog?
This is what I have done so far:
Installed mySQL Connector v.6.5.4
Restarted n-times my Windows 7 machine
Read all about how well mySQL Connector works on previous versions of Visual Studio
I have just read from mySQL Forums that mySQL will ship Visual Studio 2012 integration with mySQL Connector v.6.5.5
We'll be adding support for VS 2012 in Connector/NET 6.5.5 and later 6.6.x version
http://forums.mysql.com/read.php?38,546265,564533#msg-564533
and give a link to test a trick
http://social.technet.microsoft.com/wiki/pt-br/contents/articles/10476.instalando-mysql-connector-no-visual-studio-2011-beta.aspx
and here is the vsix file if you follow the tutorial (In Portuguese)
Microsoft Visual Studio Extension for mySQL: http://cl.ly/JqXO
just download and double click...
then, you will get all to work
Using Visual Studio 2012 Professional
One clarification: Visual Studio Express DOES NOT support MySQL .NET Connector as extension.
You still may use it adding reference to MySql.Data.dll file that you may find in MySQL Connector installation folder (for me it was W:\Program Files\MySQL\Connector NET 6.5.4\Assemblies\v4.0).
After that you may use it like this:
using MySql.Data.MySqlClient;
...
var mycon = new MySqlConnection();
According to this page: http://dev.mysql.com/downloads/connector/net/
"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)."
Visual Studio 2012 is not yet supported by MySQL Connector v.6.5.4. You can't add a connection to MySQL in the Server Explorer to begin with.
According on this post, support will be added on MySQL Connector v.6.5.5
Connector/NET 6.5.5 does not support VS2012, but Connector/NEt 6.6.x does.
However Visual Studio Express editions are not supported, hence the only way to work in Entity Framework and Visual Studio Express and MySql (or other database different than SQL Server for that matter) is using code first.
It wouldn't matter if you had the MySQL driver showing as far as I can tell. I'm running VS 2012.3 and if I try to create a Data Connection in VS Server Browser, I can get as far as selecting the MySQL driver and no more. If I try typing a servername/username/password (any of the fields), the window just disappears and YES, it's only when the MySQL driver is being used so NO it's not vs (not exclusively) causing the problem. Go ahead and say that it's my environment but you'd not be able to justify that even remotely compared to the FACT of what is happening. ALL my other software/extentions/add-in/libraries work just fine. No surprise either seeing how buggy the "3 minute" Windows Installer was. Had to uninstall/reinstall a server instance to get to the configuration wizard and there is no other apparent way to configure an instance without it. I'd rather have the old setup. /rant
Downloaded and install Download MySQL for Visual Studio http://dev.mysql.com/downloads/windows/visualstudio/1.1.html