0% found this document useful (0 votes)
2 views

MySQL

This document provides a step-by-step guide for installing MySQL on Windows using the MySQL Installer. It includes instructions for downloading the installer, selecting components to install, configuring settings, and verifying the installation through the MySQL Command Line Client. Users will be able to execute SQL commands after successfully connecting to the MySQL server.

Uploaded by

faheem13620
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

MySQL

This document provides a step-by-step guide for installing MySQL on Windows using the MySQL Installer. It includes instructions for downloading the installer, selecting components to install, configuring settings, and verifying the installation through the MySQL Command Line Client. Users will be able to execute SQL commands after successfully connecting to the MySQL server.

Uploaded by

faheem13620
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MySQL Installation on Windows

Here we will show you step by step how to install MySQL on the Windows platform using the
MySQL Installer.

1. Open the MySQL website on a browser. Click on the following link:


https://dev.mysql.com/downloads/installer/.

2. Select the Downloads option.

3. Select MySQL Installer for Windows.


4. Choose the desired installer and click on download.

5. After the download, open the installer.


6. It will ask for permission; when it does, click yes. The installer will then open.
Now, it will ask to choose the setup type. Here, select Custom.

7. Click on Next. With this, you will install MySQL server, MySQL Workbench,
and MySQL shell.
8. Open MySQL Servers, select the server you want to install, and move it to
the Products/Features to be installed window section. Now, expand Applications,
choose MySQL Workbench and MySQL shell. Move both of them to
‘Products/Features to be installed’.
9. Click on the Next button. Now, click on the Execute button to download and
install the MySQL server, MySQL Workbench, and the MySQL shell.
10. Once the product is ready to configure, click on Next. Under Type and
Networking, go with the default settings and select Next.

11. For authentication, use the recommended strong password encryption.


12. Set your MySQL Root password and click on next.
13. Go for the default windows service settings and under apply configuration,
click on execute. Once the configuration is complete, click on finish.
14. Complete the installation. This will now launch the MySQL Workbench and
the MySQL Shell.

Once MySQL Workbench is installed, select the Local instance and enter the
password.

Now, you can use the MySQL query tab to write your SQL queries.
Verify MySQL Installation
Open the MySQL Command Line Client from cmd.

You should see a mysql> prompt. If you have set any password, write your
password here.

Now, you are connected to the MySQL server, and you can execute all the SQL
command at mysql> prompt as follows:

For example: Check the already created databases with show databases command:

You might also like