Unable to install MySQL on Windows 10 - Installer hangs indefinitely
this did the trick for me: https://ao.ms/mysql-community-server-msi-installer-hangs-on-windows-10/
- run cmd (commandline) as Administrator
- cd to your location that you downloaded the .MSI to
- run the “msiexec” commandline tool with option “/i” as follows:
- msiexec /i [replace with file name]
- example: msiexec /i mysql-installer-community-5.7.20.0.msi
ok. So finally this is how I resolved my issue. And I found the solution at https://bugs.mysql.com/bug.php?id=82004 . The solution to this problem is to close an open "Windows installer" (the one using 0 memory and CPU) via task manager and the installation should begin running as expected.
Alternative solution: Use an administrator command prompt to run the MySQL installer on Windows 10. Details:
(Note: if you have any problems in the following steps, you can try to restart your computer. Then restart the steps.)
- Right-click the Start/Windows icon in the bottom-left corner of Windows.
- Click: Windows PowerShell (Admin).
- A window asks: Do you want to allow this app to make changes to your device? Click: Yes.
- Change to the directory with the MySQL installer. For example, if you downloaded the MySQL installer, type something like:
cd C:\Users\my_username\Downloads\
(Note: To save some typing, you can type a few characters, and then press the tab key, to make Windows show you various auto-completion options.)
- Run the MySQL installer. Type something like the following command---make sure to include the period and backslash at the beginning---and press Enter.
.\mysql-installer-community-8.0.11.0.msi
Note: The idea of using an administrator command prompt came from John Geffe, in the link below, which was cited in the answer written by the original poster (user8425592):
https://bugs.mysql.com/bug.php?id=82004
Bug #82004 MySQL Installer freezes during "Please wait while Windows configures..." phase
[6 Feb 3:58] John Geffe
To get past this problem I had to run the .msi installer from an the Administrator command prompt. Hopefully this helps someone in the future.
[19 Apr 18:14] Jim McCauley
John Geffe: Thanks! Your note on installing as an administrator seems to have taken care of the problem.