In this tutorials, I am going to show how to install Mysql on Windows 10 operating system.
Install Mysql on Windows 10:
I hope this step by step process to install Mysql on Windows 10 will help you better.
- Windows 10 Pro
- Mysql Community Server 8.0.12
Download the latest Mysql Community server from MySQL official website. For me, it is 8.0.12, if the version differs you no problem the installation steps will be the same.
By clicking on the above URL, you will see the below options. Select your operating system (Microsoft Windows) and click on Go to Download Page. It will redirect you the actual download page for windows Mysql server.
It will show you Generally Available (GA) Releases. Where we can see two different installers, one is a web community installer which comes as a little file and another one is MySQL installer community. Click the Download button on the second one (mysql-installer-community).
It will ask your MySQL credentials to download the .msi file. If you have your own credentials, you can login or else if you wish to sign up now you can click on green colored signup button.
If you are not interested in login or sign up for now, you can simply go and click on No thanks, just start my download option. It will download selected MySQL for you on your local machine.
Go to your downloads folder where you can see the mysql-installer-community file, right click on that file and click Install option.
The windows configure the installer, in middle, it may ask you for permissions to change your computer settings or firewall confirmation, you can accept and then it will take a few seconds to configure the installer.
Read the license agreement and accept the license terms.
This window provides you to set up different types of MySQL installations. You can set up Mysql in 5 different types as provided below. Now I am selecting the Developer Default as I am a developer so that I need all products which help my development purposes. Click on Next.
Based on your Windows configuration, it may prompt you like “One or more product requirements have not been satisfied”. You can simply click on YES.
Click on Execute.
Upon execution of the previous step, the installer grasps all recommended products in place and asking for our approval to execute the product installation process. Click on Execute.
Upon successful execution of all required products, now the MySQL allows us to configure the server settings. Click on Next to configure the server.
This step allows you to configure the server. We can configure the server in two different modes. One is standalone mode and another one is clustered mode. I don’t want to make it as a cluster because I am installing MySQL for development purpose so that I am selecting Standalone MySQL server and click on Next.
Choose the Development Computer option from Config Type drop-down. You can find the following controls like TCP/IP, Port and X Protocol Port. If you wish to configure your own port you can simply change here itself and click on Next. For now, I am leaving as it default configuration.
It is prompting you to select the authentication method, leave it as default recommended method and click on Next.
Here you can set your MySQL root user password. If you wish to create a new user, you can click on Add User button under MySQL user accounts section.
Upon clicking on Add User button, you will get the user details popup which allows you to create a new user account. After creating the user click on Next.
Leave the service details as default and click on Next.
Press Execute to apply the configurations on the previous step.
Upon execution, you can see the below green colored ticks on every configuration option and finally you will get Finish button.
Click on Finish you got your MySQL on your Windows 10 operating system.
Search for MySQL in your taskbar search item. There you can see all MySQL products which we installed and click on MySQL client it will open and ask your root password, give your password and press enter. Then you can see the MySQL prompt like below.
MySQL comes along with some default databases. We can see the databases by giving show databases command.
We are completely done with our installation process.
Happy Learning 🙂