Mysql uninstall with MSI installer fails - mysql

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?

Related

How to install specific of MySQL using apt package manager

I want to install a specific version of MySQL on my Ubuntu machine. Is there a way to install it using the package manager 'apt' or 'apt-get'?
In a normal installation, I'm getting MySQL 5.6 and when I try with MySQL documentation for MySQL 8, it installs version 8.0.25.
I looked into installing specific version of a package using 'package=version' in ubuntu with this Link
But, is that possible in the case of MySQL. If possible, where can I get the available version list? I want to install MySQL version 8.0.21.
To install a specific version, we have to use Archives
Download version 8.0.21 based on your system architecture from the archives
To unpack it, use this command with root access
tar -xvf mysql-server_MVER-DVER_CPU.deb-bundle.tar
You may need to install the libaio library if it is not already present on your system:
sudo apt-get install libaio1
For a basic installation of the MySQL server, install the database common files package, the client package, the client metapackage, the server package, and the server metapackage (in that order); you can do that with a single command:
sudo dpkg -i mysql-{common,community-client,client,community-server,server}_*.deb
For more details regarding installing and setup visit : MySQL installation guide

Can't install mysql community server 8.0 windows 10. I already have Server 5.7 installed and Workbench 8.0 CE installed

I need to run the 5.7 server and the 8.0 server. Not necessarily at the same time, but i need them both installed. I've installed 5.7 and now I can't install 8.0 CE Server.
Downloaded MSI installer from here https://dev.mysql.com/downloads/windows/installer/8.0.html
It offer to update Connector/Python and that's it.
What am i doing wrong?
Found it. The installer is just confusing. For other newbies, here's what i learned:
Start the installer and you see:
Select Products to Upgrade....Connector Python....
Cancel that, and you see
List of products already installed
Note that Server 8.0 is not there. Click "Add" on the right. And that's it!

Installing MySQL 5.7 on Windows

I am struggling to install MySQL 5.7 on Windows 10 after a clean removal of MySQL 8.0. The installer defaults to the version 8.0.12, with no way for me to change it.
When I run the installer (which has the version number 5.7.23.0), I am prompted to the following screen:
... despite the fact that this installer is (supposedly) for specifically the version 5.7.
I am unfamiliar with the manual installation process, so I was wondering if someone could help me install MySQL 5.7 on my PC (preferably all the other MySQL products such as the Connector and the Workbench as well). I've been trying to follow the instructions on the official documentation, but I stopped because I had no idea what I was doing.
I removed my MySQL 8.0.11 installation
Then I removed all the MySQL folders in the program and data folders
I disabled the gateway
Then started the installer for version 5.7.24 and that was oke.
First download all requirements and install them first
Then the installation was done. At the Installation screen, the status was ready to download, but I ignored it first and then I enabled the gateway again and the installation was fine.
At the installation screen it was clearly that version 5.7 would be installed. It only installed some 8.0 products (like the Shell, Router, connectors etc).
After checking, i've got Workbench 8 but MySQL 5.7.24

"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 installer console is executed in Commercial mode

I have to install MySQL Server Community Edition version 5.6.x with silent installation. I planned to use mysql-installer-community-5.6.26.0.msi with msiexec /i /quiet command and run MySQLInstallerConsole.exe to install and configure the server silently.
I found a problem about MySQL installer while installing, it's always running in Commercial mode after installation. I tried to reinstall it again in many times via the same procedure but the results are not different.
How can I force the Installer to run in Community mode?
It runs in commercial mode if the "MySQL Installer - Community" application has never been launched.
Running your command with "community" prefacing "install" should work.
MySQLInstallerConsole.exe community install server;5.6.24;x86:*:port=3306;rootpasswd=PASSWORD;servicename=MySQL -silent