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)
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
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.
None of the solutions work for me until I install the old version: mysql-workbench-community-6.3.8-winx64.msi
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:
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.
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
- 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:
- 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 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
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-126.96.36.199.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.