Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL 5.7.19 not installing. Giving same error

I have been trying to install MYSQL 5.7.19 but it gives me the following error while installing the "MYSQL SERVER 5.7.19" although the rest of the things are installed perfectly.

1: Action 14:02:10: INSTALL. 
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709} 
1: Action 14:02:10: FindRelatedProducts. Searching for related applications
1: Action 14:02:10: AppSearch. Searching for installed applications
1: Action 14:02:10: 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: {EC09D203-422B-4C9F-B623-230EF57EE709} 3: 3 
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.

After this, I installed the "VISUAL C++ Redistributable 2013" as I could not find the "Visual Studio 2013 Redistributable". First thing I want to ask is are these two the same? If not then where to find the "Visual Studio 2013 Redistributable". After installing the "VISUAL C++ Redistributable 2013", I still get the same error. Another thing is, if I don't install 'MySQL Server 5.7.19' and let it fail, will my MySQL not work properly?

like image 907
Karan Gupta Avatar asked Jul 24 '17 08:07

Karan Gupta


4 Answers

This happened to me as well today actually. 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.

like image 126
newbie Avatar answered Nov 15 '22 19:11

newbie


Simple workaround (there's a bug in msi install sequence file):

  • download and install the server through the web installer and let it failed
  • open C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.20-winx64.exe or download msi installer from CDN (you can take the correct url from the installer logs)
  • install the mysql-5.7.20-winx64.exe but exclude "Server Data Files"
  • re-run the web installer and click "Quick Action / Reconfigure" and configure you mysql instance
  • add the required packages
like image 25
Peter Húbek Avatar answered Nov 15 '22 18:11

Peter Húbek


I had the same problem with MySQL Server 5.7.19 x64.

I installed Visual Studio 2013 Redistributable x64 but it does not works, so you have to install Update for Visual C++ 2013 and Visual C++ Redistributable Package wich can be found here https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package.

With this solution you can install v5.7 instead of v5.6.

Credits goes for Jafeth Carrillo Salas, https://forums.mysql.com/profile.php?169,11205311

like image 22
Pnia Avatar answered Nov 15 '22 20:11

Pnia


This seems duplicate of MySql 5.7 installer fails to detect VS 2013 redistributable. 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.

like image 25
Red Boy Avatar answered Nov 15 '22 18:11

Red Boy