Install Mysql Windows Server 2016

Active1 year, 10 months ago

If you have an online connection while running the MySQL Installer, choose the mysql-installer-web-community file. If you do NOT have an online connection while running the MySQL Installer, choose the mysql-installer-community file. Note: MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries. Online Documentation. I recently installed MYSQL on windows 10 machine and created a database no problems at all. But on windows server 2016, with IIS i cannot get it to work I had to manually register the mysql service, but cannot start it. I tried from comman line the following C: Program Files MySQL MySQL Server 5.7 binmysql -p Enter password:. This wikiHow teaches you how to install the MySQL Server program on a Windows 10 computer. In order to install MySQL on a Windows computer, you must first have Python 2.7 (not Python 3+) installed. Open the Python download page.

Install Mysql Windows Server 2016

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}

Install Mysql Windows Server 2016 Download Iso

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?

Matt ThrowerMatt Thrower
4,93511 gold badges61 silver badges128 bronze badges

9 Answers

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.

PrabhatInstall Mysql Windows Server 2016Prabhat
2,5223 gold badges12 silver badges11 bronze badges

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.

Install

Would have commented this on Prabhat's answer, but reputation restrictions.

Hooger2243Hooger2243

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.

Red BoyRed Boy
2,7682 gold badges12 silver badges27 bronze badges

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.

Heiko EbensHeiko Ebens

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.

newbienewbie

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.

AQuirkyAQuirky
2,3181 gold badge10 silver badges24 bronze badges

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.

Adil B
6,04010 gold badges27 silver badges40 bronze badges
AESAES

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.

monotonewangmonotonewang

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.

Install Apache Php Mysql Windows Server 2016

AmirAmir

Windows Server

7,1284 gold badges38 silver badges45 bronze badges

Install Powershell On Nano Server

protected by CommunityNov 13 '17 at 8:44

Install Mysql On Windows Server 2016

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Install Mysql Workbench Windows Server 2016

Not the answer you're looking for? Browse other questions tagged mysqlwindows-server-2016 or ask your own question.