- Install Mysql On Windows 10
- Mysql Server 5.7 Download Windows
- Install Mysql Windows 10 Cmd
- Install Mysql Db In Windows 10
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.
I am trying to install MySQL on a Windows 10 PC. I downloaded the installer package and followed those steps
- Went to https://dev.mysql.com/downloads/windows/
- clicked on 'MySQL Installer'
- Scrolled to Generally Available(GA) Releases section
- Clicked on 'Windows (x86, 32-bit), MSI Installer' (mysql-installer-community-5.7.21.0.msi) and it started the download.
- Once the download was complete, I double clicked on the installer and it gave a usual pop-up for any installation like,'Do you want this app to make changes to your device?' after clicking on 'yes' for the answer to this question, it shows 'Please wait while Windows configures MySQL-Installer-community' like below screenshot.
And then it keeps showing this installation progress bar for a very long time. Like more than 7-8 hours and the installation never completes
So it seems something is wrong as I don't think MySQL installation needs this long time. I tried to restart my computer and then delete any files related to MySQL from my computer and then started the whole process of installation again. But no luck yet
Anyone has any suggestion on this or did anyone face this kind of issue before? If so, is there a fix or a work around for this?
10 Answers
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.
KRMKRMAlternative 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:Usersmy_usernameDownloads
(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):
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
Install Mysql On Windows 10
John Geffe: Thanks! Your note on installing as an administrator seems to have taken care of the problem.
Winston C. YangWinston C. YangGo to the link you provided (the first one) and try installing MySql Workbench. That is the version that is commonly used, and one that I verified works in Windows 10. Here is the link: https://dev.mysql.com/downloads/workbench/
Obviously, make sure you choose the right architecture, have the correct permissions to install software, and have enough space on your hard drive, or on the machine you are installing to.
Please install 'Update for Visual C++ 2013 and Visual C++ Redistributable Package' from Microsoft Site 'http://download.microsoft.com/download/0/5/6/056DCDA9-D667-4E27-8001-8A0C6971D6B1/vcredist_x64.exe'
Please look here at https://support.microsoft.com/en-in/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package
BugsAnother thing that worked for me was running the installer in compatibility mode for previous version of Windows. You can try that as well.
Maciej JureczkoYes, I also got the same problem on my Windows 10.Followed the Powershell solution and it worked.Just repeat the above:
Click
Start
on bottom left cornerScroll down the application list until Windows Powershell
Select
Windows Powershell
again on sub-menuType in
cd
(to change to your .msi folder)Type
.xxxxx.msi
(this is the installer file name)
All good.
Julien ChienOnce you install the above package run the installer again and do the steps. You will be able to install the mysql-installer-community-5.7.21.0 for 64 bit windows 10
closing Windows Installer instances using 0 memory and CPU helps me to get past this problem.
Mysql Server 5.7 Download Windows
For me on Window-10 machine, there was a problem with the 'mysql-connector-net-8.0.11.msi'. I was not able touninstall this and hence all my subsequent efforts to install MySQL were failing. I did the following to overcome this issue.
Install Mysql Windows 10 Cmd
- Re-installed 'mysql-connector-net-8.0.11.msi' Get it here and used the 'Repair' option
- Installed the 'mysql-installer-web-community-8.0.11.0.msi'
These two things solved my problem. Hope this helps.
this did the trick for me: https://ao.gl/mysql-community-server-msi-installer-hangs-on-windows-10/
1) run cmd (commandline) as Administrator2) cd to your location that you downloaded the .MSI to3) run the “msiexec” commandline tool with option “/i” as follows:4) msiexec /i [replace with file name]5) example: msiexec /i mysql-installer-community-5.7.20.0.msi