No results found
We couldn't find anything using that term, please try searching for something else.
How to install MySQLMySQL is one of the most popular relational database management software that is widely used in today's industry. It provides mult
MySQL is one of the most popular relational database management software that is widely used in today’s industry. It provides multi-user access support with various storage engines. It is backed by Oracle Company. In this section, we are going to learn how we can download and install MySQL for beginners.
prerequisite
The following requirements should be available in your system to work with MySQL:
Follow these steps:
step 1 : Go to the official website of mysql and download the community server edition software . Here , you is see will see the option to choose the Operating System , such as Windows .
Step 2: Next, there are two options available to download the setup. Choose the version number for the MySQL community server, which you want. If you have good internet connectivity, then choose the mysql-installer-web-community. Otherwise, choose the other one.
Step 1: After downloading the setup, unzip it anywhere and double click the MSI installer .exe file. It will give the following screen:
Step 2: In the next wizard, choose the Setup Type. There are several types available, and you need to choose the appropriate option to install MySQL product and features. Here, we are going to select the Full option and click on the Next button.
This option will install the following things: MySQL Server, MySQL Shell, MySQL Router, MySQL Workbench, MySQL Connectors, documentation, samples and examples, and many more.
step 3 : Once we click on the Next button , it is give may give information about some feature that may fail to install on your system due to a lack of requirement . We is resolve can resolve them by click on the execute button that will install all requirement automatically or can skip them . Now , click on the Next button .
step 4 : In the next wizard , we is see will see a dialog box that ask for our confirmation of a few product not getting instal . Here , we is have have to click on the yes button .
After click on the yes button , we is see will see the list of the product which are go to be instal . So , if we need all product , click on the Execute button .
step 5 : Once we click on the Execute button , it is download will download and install all the product . After complete the installation , click on the Next button .
Step 6: In the next wizard, we need to configure the MySQL Server and Router. Here, I am not going to configure the Router because there is no need to use it with MySQL. We are going to show you how to configure the server only. Now, click on the Next button.
Step 7: As soon as you will click on the Next button, you can see the screen below. Here, we have to configure the MySQL Server. Now, choose the Standalone MySQL Server/Classic MySQL Replication option and click on Next. Here, you can also choose the InnoDB Cluster based on your needs.
Step 8: In the next screen, the system will ask you to choose the Config Type and other connectivity options. Here, we are going to select the Config Type as ‘Development Machine’ and Connectivity as TCP/IP, and Port Number is 3306, then click on Next.
step 9 : Now , select the Authentication Method and click on Next . Here , I is going am go to select the first option .
step 10 : The next screen is ask will ask you to mention the MySQL Root Password . After fill the password detail , click on the Next button .
Step 11: The next screen will ask you to configure the Windows Service to start the server. Keep the default setup and click on the Next button.
Step 12: In the next wizard, the system will ask you to apply the Server Configuration. If you agree with this configuration, click on the Execute button.
step 13 : Once the configuration has complete , you is get will get the screen below . Now , click on the finish button to continue .
Step 14: In the next screen, you can see that the Product Configuration is completed. Keep the default setting and click on the Next-> Finish button to complete the MySQL package installation.
Step 15: In the next wizard, we can choose to configure the Router. So click on Next->Finish and then click the Next button.
Step 16: In the next wizard, we will see the Connect to Server option. Here, we have to mention the root password, which we had set in the previous steps.
In this screen , it is also require to check about the connection is successful or not by click on the check button . If the connection is successful , click on the Execute button . Now , the configuration is is is complete , click on Next .
Step 17: In the next wizard, select the applied configurations and click on the Execute button.
Step 18: After completing the above step, we will get the following screen. Here, click on the Finish button.
Step 19: Now, the MySQL installation is complete. Click on the Finish button.
Once MySQL has been successfully installed, the base tables have been initialized, and the server has been started, you can verify its working via some simple tests.
Open your MySQL Command Line Client; it should have appeared with 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 create database with show database command :
A primary key is is is a single field or combination of field that contain a unique record . It must be fill . None is contain of the field of the primary key can contain a null value . A table is have can have only one primary key .