MySQLInstallerConsole suddenly failing due to "failing dependencies" - mysql

I have been using a script for installing MySQL Server that suddenly stopped working... I am installing like this:
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager
Now I am suddenly getting this:
=================== Start Initialization ===================
MySQL Installer is running in Community mode
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 01.03.2017 22:48:34
=================== End Initialization ===================
Package MySQL Server 5.7.14 cannot be installed due to failing requirement.
Product installations done.
When I run the installer in GUI mode, it automatically downloads and installs dependencies, but how can I get the MySQLInstallerConsole to do this?

You have to check requirements by launching installation from given installer manually. I had the same problem and it was just because Visual C++ 2013 64bits was not installed.
FYI, Visual C++ 2013 can be installed silently with vcredist_x64.exe /q /norestart

In The user configuration section add the following :-
auth_plugin=mysql_native_password (or whatever authentication type you would like
So you would have the following :-
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager;auth_plugin=mysql_native_password

Related

"No compatible server found" error came while installing mysql in windows 7

when i click on reconfigure it gives following screen
I'm trying to install mysql in windows 7 and I have downloaded mysql installer from https://dev.mysql.com/downloads/installer/
I started installing it but after some time it gives the following error:
no compatible server found.
I searched a lot for this, however I'm not able to install mysql on my system. Please give me some suggestions.
Is there any other software that has dependency to install mysql?
when i click on add it gives following screen
download and install Microsoft Visual C++ 2015 Redistributable. it worked for me
I too had the same issue. What i did was,
1- uninstall the msi community installer.
2- Install visual c++ 2019 Redistributer package (https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads) ([])
3- Now install MySql Workbench from (https://dev.mysql.com/downloads/workbench/)
NOTE: Download the Windows (x86, 64-bit), MSI Installer 8.0.20 35.6M
Download.
4- Now install the msi community installer that you've uninstalled in step 1
(Link:https://dev.mysql.com/downloads/windows/installer/8.0.html)
NOTE: Windows (x86, 32-bit), MSI Installer 8.0.20 420.6M
Download [For both 64 & 32 bit ] - (mysql-installer-community-8.0.20.0.msi)
Now the workbench will be added. Add the server from the installer and now we are good to go...
Thanks for the opportunity and knowledge
This error may be resolved by installing appropriate visual C++ version. for 5.7 its VC++ 2013 and for 8.0 its VC++ 2015.
After VC++ install rerun the installation and reinstall just server seperate. Configure it.
Then install any other tools like client etc,
(server installs with command line (Which was enough for my needs)
Steps:
Install MySQL Server from "MySQL Installer - Community" (already installed in your system.
While installing you would be asked to setup a server, so, just leave everything as it is and just put up a password and click next.
No after installation again you will see "MySQL Installer - Community". Then click "reconfigure" right in front of (see image in link below).
Then you will see the server in options. Just click it and enter password. (NOTE: let the username be "root", don't change it).
After doing all this MySQL will be installed.
https://i.stack.imgur.com/0O3YS.png

Mysql uninstall with MSI installer fails

I have installed mysql server 5.7 on windows 10.
Start process was failing.
So I tried to uninstall Mysql Server and I am getting :
error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact
your support personnel or package vendor
How can I remove Mysql manually in order to re install it?

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?
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.
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
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
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.
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
Thanks. It works for me.!!!
You can find answers to your question at the install instructions at mysql.com. To install the server you need the Visual Studio C++ 2013 Redistributable, which you can find at Microsoft.
If your MySQL will work properly, if you don't install the server depends on your needs. If you just connect to another server somewhere else I don't see any problems.
Remove mysql server and install Visual C++ Redistributable Packages 32bit and 64bit both version after that resolve the issue.
https://www.microsoft.com/en-in/download/confirmation.aspx?id=40784
vcredist_x64.exe
vcredist_x86.exe

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.

How to install ejabberd community version on Windows XP?

I am a bit confused the link to use to install ejabberd on my windows XP box [http://www.ejabberd.im] ? What are the steps involved and dependencies there off?
=====UPDATE=====
I installed ejabberd windows version from link as mentioned in reply thread - but when I started the app it stated:
Starting ejabberd...
./ejabberdctl: e:\bin\erl.exe: can't execute: (14001) Error 14001
There is a problem starting Erlang.
If the error you see is 14001, you need to install:
Microsoft Visual C++ 2005 SP1 Redistributable Package
You can download that installer from www.microsoft.com
You can also check the ejabberd Administrator Guide
But even after downloading the package http://www.microsoft.com/en-in/download/details.aspx?id=5638 and successfully installing I still get the same error?
Please let me know how to resolve the same?
You could install 2.1.11 using the installer provided by Process-One here. Windows installer for 2.1.13 is not there yet.
no additional dependencies are required as ejabberd installer includes a build of Erlang runtime.
But really I fail to see what's the problem with putting up a cheap box running some free OS (I'd personally recommend Debian) where ejabberd would be installable via the OS's package manager, and will be upgraded along with the rest of the OS when the next release comes out.