How to install
and Setup
Mysql
BY MAHENDRA
KUMAR
About Mysql
MySQL is a very popular open-source relational database
management system (RDBMS).
MySQL is ideal for both small and large applications
MySQL is very fast, reliable, scalable, and easy to use
Here you have both option either you work with GUI or with
CLI.
1.Better is use GUI(Benchmarks) because it not need any
command to learn. You have icon in front of you that is use to
create Databases and perform Quiry on it.
2.For using CLI you have to learn so many command and it
require more typing.
Step 1- Type on chrome, Mysql
download.
1. Go on official website of Mysql and click on Download MySQL community.
2. Now click on MySQL Community(GPL) Downloads
3. Here you click on MySQL Installer for Windows.
4. Now you go fro latest on inataller that is second one with and click on No
thanks,just start my download.
Now open file and wait for some time
Here choose customs and click next
Now you have to select the product.
1.MySQl Servers
2.Application.
(i)MySQl Workbench
(ii)MySQl Shell
Only drag and drop click on next.
Now click on execute and wait for
installation
Click on next
On Product Configuration click on next
Again click on next.
Now you create a password for your databases that require every time
when you open database so remmebar it.
Now Again click on next.
Again next
Click on execute and wait.
Click on finish
Now open Workbench and type Password
Now you are able to create you on Database in
GUI.
1. First create a database
2. Select schema
3.Go to table option and create table
4.Now give the values to columns
For CLI
First set the system environment path.
Go to C-drive
Open programs file
Click on MySQl
Open MySQl Server 8.0
Click on bin
Copy the Path and set it in system environment.
Open Command Promt
Use command mysql –u root –p enter
Type your password
Command
1.show databases;
2.use database_name;
3.show tables;
4.selesct * from table_name;
you
a n k
T h