How to Install the MySQL Database Server on Your Windows PC
How to Install the MySQL Database Server on Your Windows PC
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.
Steps

Installing Python

Open the Python download page. Go to https://www.python.org/downloads in your computer's web browser.

Click Download Python 2.7.14. It's a yellow button at the top of the page. Python version 2.7.14 is the version that you'll need to use for MySQL. You cannot run MySQL using Python 3.

Double-click the Python setup file. You'll find it in your browser's default downloads location. Doing so opens the Python setup window.

Navigate through the Python installation. The Python setup process is fairly straightforward: Click Next on the first page. Click Next on the "Select Destination Directory" page. Click Next on the "Customize" page.

Click Yes when prompted. Doing so will cause Python to begin installing. The Python installation should only take a few seconds.

Click Finish. This option appears when Python has been installed successfully. Now that Python 2.7 is installed, you can proceed with installing MySQL.

Installing MySQL

Open the MySQL Server download page. Go to https://dev.mysql.com/downloads/windows/installer/8.0.html in your computer's web browser. This will take you to the download site for the community version of MySQL Server.

Click the bottom Download option. This blue button is at the bottom of the page. Make sure to click the bottom Download button and not the top one here.

Scroll down and click No thanks, just start my download. It's a link near the bottom of the page. The MySQL setup file will download onto your computer.

Double-click the setup file. Doing so prompts the MySQL setup window to open.

Click Yes when prompted. This will confirm that you want to proceed with installing MySQL, which will open the MySQL launcher window. You may have to do this twice before proceeding.

Check the "I accept the license terms" box. It's in the bottom-left side of the launcher window.

Click Next. This is at the bottom of the window.

Check the "Full" box. It's in the middle of the page.

Click Next. This option is at the bottom of the page. Doing so will save your installation preferences.

Click Next on the "Requirements" page. It's at the bottom of the page.

Click Execute. This button is at the bottom of the window. Doing so will prompt MySQL to begin installing onto your computer.

Wait for MySQL to finish installing. Once each of the options in the "Installation" window have checkmarks next to them, you can proceed with setting up MySQL.

Setting up MySQL

Navigate through the first few pages. The first five pages of the MySQL setup are optimized for most Windows computers, so you can just click through them: Click Next when the installation completes. Click Next on the configuration page. Click Next on the "Group Replication" page. Click Next on the "Type and Networking" page. Click Next on the "Authentication Method" page.

Create a MySQL password. Type your preferred password into the "MySQL Root Password" text box, then re-enter the password in the "Repeat Password" text box.

Add an administrator account. This will be the non-root account that you can use to do things like add users, change passwords, and so on: Click Add User in the lower-right side of the page. Type in your preferred username in the "Username" field. Make sure that the "Role" field has DB Admin selected; if it doesn't, click the "Role" drop-down box and then click DB Admin Enter a unique password for the user in the "Password" and "Confirm Password" boxes. Click OK

Click Next. This is at the bottom of the page. Doing so confirms your password and user account.

Click Next. It's at the bottom of the "Windows Service" page.

Enable MySQL as a document store. You can skip this step by clicking Next if you like. Otherwise, do the following: Check the "Enable X Protocol / MySQL as a Document Store" box. Change the port number if necessary. Make sure that the "Open Windows Firewall port for network access" box is checked. Click Next

Click Execute. It's at the bottom of the window. Your MySQL installation will begin configuring itself.

Click Finish. This option will become available when the configuration is complete.

Configure the next attribute. Click Next at the bottom of the window, then click Finish. This will bring you to the final part of MySQL's setup, which is connecting to the server itself.

Enter your root password. In the "Password" box near the bottom of the window, type in the password that you created at the beginning of this part.

Click Check. It's at the bottom of the page. This will check your password and, if the password is correct, allow you to proceed.

Click Next. This option is at the bottom of the page.

Click Execute. Doing so will configure this part of your installation.

Finish the product configuration. Click Finish, click Next at the bottom of the "Product Configuration" page, and click Finish in the bottom-right corner of the window. This will complete your MySQL setup and open the MySQL Shell and dashboard. You're now ready to begin using MySQL.

What's your reaction?

Comments

https://rawisda.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!