EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 360+ Courses All in One Bundle
  • Login
Home Data Science Data Science Tutorials MySQL Tutorial How To Install MySQL
Secondary Sidebar
MySQL Tutorial
  • Basic
    • MySQL floor
    • MySQL DESCRIBE table
    • MySQL encryption
    • Introduction to MySQL
    • Is SQL Server a Database?
    • What is MySQL
    • Is MySQL Programming Language
    • MySQL Server
    • MySQL AB
    • MySQL Community Server
    • How To Install MySQL
    • MySQL Versions
    • MySQL OpenSource
    • MySQL GUI Tools
    • MySQL Grant
    • MySQL Error 1064
    • MySQL Drop Database
    • MySQL not equal
    • MySQL SELECT INTO Variable
    • MySQL Commands
    • MySQL Operators
    • What is MySQL Schema
    • Wildcards in MySQL
    • MySQL Constraints
    • MySQL Administration
    • MySQL Data Type
    • MYSQL COMMIT
    • MySQL FORMAT
    • Timestamp to Date in MySQL
    • MySQL DATEDIFF
    • MySQL?Incremental Backup
    • MySQL JSON Data Type
    • MySQL ENUM
    • MySQL Default Port
    • Cheat Sheet MySQL
  • Queries
    • MySQL Queries
    • MySQL Query Commands
    • SELECT in MySQL
    • MySQL INSERT IGNORE
    • MySQL having
    • ORDER BY in MySQL
    • MySQL Cheat Sheet
    • MySQL ORDER BY Random
    • MySQL ORDER BY DESC
    • MySQL GROUP BY
    • MySQL GROUP BY Count
    • MySQL GROUP BY month
    • MySQL WHERE Clause
    • MySQL WITH
    • MySQL FETCH
    • MySQL DDL
    • MySQL DML
    • MySQL WHERE IN Array
    • MySQL Fetch Array
    • MySQL ISNULL
    • MySQL Index Types
    • Mysql? Export Schema
    • Amazon RDS for MySQL
    • MySQL greatest
  • Database
    • What is Data Modeling
    • What is Data Processing
    • DBMS Architecture
    • DBMS Keys
    • Careers in Database Administration
    • What is MySQL Database
    • MySQL Relational Database
    • How to Connect Database to MySQL
    • MySQL Database Repair
    • RDBMS Interview Questions
    • DBMS Interview Questions
  • Functions
    • MySQL Function
    • MySQL Aggregate Function
    • MySQL String functions
    • MySQL Date Functions
    • MySQL Window Functions
    • MySQL Math Functions
    • MySQL Boolean
    • Cursor in MySQL
    • Condition in MySQL
    • MySQL BETWEEN
    • Insert in MySQL
    • MySQL IFNULL()
    • MySQL TIMESTAMPDIFF()
    • MySQL COALESCE()
    • MySQL count()
    • MIN() in MySQL
    • MySQL Numeric
    • MySQL field()
    • MySQL FIND_IN_SET()
    • MySQL avg()
    • MySQL MAX() Function
    • MySQL BIN()
    • MySQL Concat
    • MySQL DECODE()
    • MySQL REGEXP_REPLACE()
    • MySQL Asynchronous
    • MySQL innodb_buffer_pool_size
    • MySQL key_buffer_size
    • MySQL TRUNCATE()
    • MySQL ROW_NUMBER()
    • NOT in MySQL
    • MySQL IN Operator
    • LIKE in MySQL
    • ANY in MySQL
    • MySQL NOT IN
    • MySQL CHECK Constraint
    • MySQL DISTINCT
    • MySQL ALL
    • MySQL Union
    • MySQL UNION ALL
    • MySQL EXISTS
    • MySQL ON DELETE CASCADE
    • MySQL REGEXP
    • MySQL Index
    • MySQL Add Index
    • MySQL REINDEX
    • MySQL UNIQUE INDEX
    • MySQL Clustered Index
    • MySQL? InnoDB Cluster
    • Table in MySQL
    • ALTER TABLE MySQL
    • MySQL Temporary Table
    • MySQL Clone Table
    • MySQL Repair Table
    • MySQL Lock Table
    • MySQL Optimize Table
    • TRUNCATE TABLE MySQL
    • MySQL Table Dump
    • MySQL Update Set
    • MySQL ALTER TABLE Add Column
    • MySQL RANK()
    • MySQL CTE
    • MySQL LAG()
    • MySQL GROUP_CONCAT()
    • MySQL EXTRACT()
    • MySQL REPLACE
    • MySQL AUTO_INCREMENT
    • MySQL SYSDATE()
    • MySQL NULLIF()
    • MySQL Substring
    • MySQL SUBSTRING_INDEX()
    • MySQL LOWERCASE
    • MySQL Row
    • MySQL NOW
    • MySQL CEIL
    • MySQL Alias
    • MySQL Trigger
    • MySQL SHOW Triggers
    • MySQL UPDATE Trigger
    • MySQL DELETE Trigger
    • MySQL AFTER UPDATE Trigger
    • MySQL Stored Procedure
    • ROLLUP in MySQL
    • MySQL? INSTR()
    • MySQL Subquery
    • MySQL Timestamp
    • MySQL? Hour()
    • MySQL MOD()
    • MySQL DATE_FORMAT()
    • ALTER Column in MySQL
    • MySQL Rename Column
    • MySQL Interval
    • MySQL CURDATE
    • MySQL BIT
    • MySQL Binlog
    • MySQL Average
    • MySQL TEXT
    • MySQL SHOW
    • MySQL Offset
    • MySQL Timezone
    • mysql_real_escape_string
    • MySQL Datetime
    • MySQL DATE_SUB()
    • MySQL FULLTEXT
    • MySQL DATE_ADD()
    • MySQL sum()
    • MySQL Merge
    • MySQL BigInt
    • MySQL ROUND
    • MySQL VARCHAR
    • MySQL Decimal
    • MySQL Limit
    • MySQL today()
    • MySQL WEEKDAY
    • MySQL Split
    • MySQL Create Function
    • MySQL BLOB
    • MySQL encode()
    • MySQL Primary Key
    • MySQL Foreign Key
    • Unique Key in MySQL
    • MySQL Drop Foreign Key
    • MySQL DROP TRIGGER
    • MYSQL Database
    • Delete Database MySQL
    • MySQL Root
    • MySQL Root Password
    • MySQL Client
    • MySQL Users
    • MySQL?User Permissions
    • MySQL add user
    • MySQL List User
    • MySQL Show Users
    • MySQL User Password
    • MySQL?Cardinality
    • MySQL Workbench
    • MySQL Backup
    • MySQL REVOKE
    • MySQL Dump
    • MySQL Cluster
    • MySQL Partitioning
    • MySQL Full Text Search
    • MySQL Admin Tool
    • MySQL Export Database
    • MySQL Export to CSV
  • Joins
    • Joins in MySQL
    • MySQL Outer Join
    • Left Outer Join in MySQL
    • MySQL Self Join
    • Natural Join in MySQL
    • MySQL DELETE JOIN
    • MySQL Update Join
    • MySQL Cross Join
  • Advanced
    • MySQL Formatter
    • MySQL TINYINT
    • MySQL Grant All Privileges
    • MySQL DROP TABLE
    • MySQL rename database
    • MySQL Flush Privileges
    • MySQL super Privilege
    • MySQL Character Set
    • MySQL Log File
    • MySQL Flush Log
    • Grant Privileges MySQL
    • MySQL WHILE LOOP
    • IF Statement in MySQL
    • MySQL CASE Statement
    • MySQL IF Function
    • MySQL IF EXISTS
    • MySQL UUID
    • Views in MySQL
    • MySQL Replication
    • MySQL Partition
    • Toad for MySQL
    • Navicat for MySQL
    • MySQL AES_Encrypt
    • MySQL Performance Tuning
    • MySQL Transaction
    • MySQL? sort_buffer_size
    • MySQL? Sync
    • MySQL? Query Cache
    • MySQL Collation
    • MySQL ODBC Driver
    • MySQL Partitioning
    • MySQL InnoDB
    • MySQL Float vs Decimal
    • MySQL Union vs Union All
  • Interview Questions
    • MySQL Interview Questions

Related Courses

MS SQL Certification Courses

Oracle Certification Courses

PL/SQL Certification Courses

How To Install MySQL

By Priya PedamkarPriya Pedamkar

How To Install MySQL

How to Install MySQL on Windows?

The following article provides an outline for How To Install MySQL. MySQL is a relational database system, and the best part is, it is open source and absolutely free. It is developed by “Michael Widenius” and their team. Now it is maintained by Oracle Corporation.

Steps To Install MySQL on Windows

Given below are the steps to install MySQL on windows:

Step 1: First, you need to visit this site: https://dev.mysql.com/downloads/ to download and install MySQL in your local system. When you landed on this page, just find MySQL Community Edition(GPL) and click on the download button.

Mysql Install output 1

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

Step 2: It redirects you to another page; just scroll down and find the Generally Available(GA) Releases section and click the dropdown and select the operating system. By default, Microsoft Windows is selected, and you can choose other OS as well by click on the dropdown menu shown below.

Mysql Install output 2

Step 3: Just scroll down and click on “Go to Download Page,” which is circled in red color below. Please don’t download from the other Downloads section, which is available exactly below the “Go to Download Page” option.

Mysql Install output 3

Step 4: After click on “Go to Download Page,” it redirects you to another page where you need to click 2nd option, Windows (X86, 32-bit), MSI Installer, which has 324.3 MB of size and circled in red below. 1st download option, which has 16.4 MB size, is a web-based installer that is a launcher file to install MySQL, so avoid 1st option.

Mysql Install output 4

Step 5: When you click on the download button, it redirects you to another page where it has three options. First Login if you already have account with Oracle, then use this otherwise, click on the Sign up button and fill necessary details of yours. The third option allows you to download without a login so you need to click on “No thanks, Just Start my download,” which is marked in red in the below screenshot. It will start to download.

Mysql Install output 5

Step 6: When the download is finished then click on the downloaded file. It will start installing, and then you will get a window. Just press Yes and continue.

Mysql Install output 6

Step 7: Now click on the checkbox near “I accept the license terms” indicated in the red square and click on the next button.

Mysql Install output 7

Step 8: Select the Developer Default option and click on the Next Button as shown.

Mysql Install output 8

Step 9: Then again, click on Next in the Check Requirements window.

Mysql Install output 9

Step 10: After this, it shows one warning message, so need to click on Yes and proceed.

Mysql Install output 10

Step 11: Then Click on the Execute button.

Mysql Install output 11

Step 12: It will take some time to execute and install above all and just check the status for all products when it shows complete then click on the Next button.

Mysql Install output 12

Step 13: Again Click Next in the Product Configuration window.

Mysql Install output 13

Step 14: Select Standalone MySQL Server/ Classic MySQL Replication and click on Next Button in Group Replication window.

Mysql Install output 14

Step 15: Click Next in the Type and Networking window, please don’t make any changes there, leave as it is.

Mysql Install output 15

Step 16: Select Use Strong Password Encryption for the authentication option and click on the Next button.

Mysql Install output 16

Step 17: Type MySQL Root Password and Retype the password and click on Next Button. You need to set a password that you can always use when you want to open MySQL.

output 17

Step 18: Click on the Next button.

output 18

Step 19: Click on the Execute button.

output 19

Step 20: Click on Finish Button.

output 20

Step 21: Click Next on the product configuration page.

output 21

Step 22: In user name keep root by default as user and type password which you set earlier. Click on Next. It will test they are able to connect the server or not and it will check the installation has been completed successfully or not.

output 22

Step 23: For a few systems it requires few more steps to configure other installation which supports the MySQL. In that condition, you need just click on the Next and Execute button please avoid making any changes. Few systems will automatically configure settings so need not to worry. Now finally click on the finish button.

output 23

Step 24: It completes the Installation of MySQL and opens the MYSQL shell and MySQL Workbench. Please close both and restart your system.

output 24

Step 25: First go to Start in windows and search MySQL it will show multiples file related to MySQL but you need to find only MY SQL Command Line Client and MySQL Workbench. Both options come with their respective version like I have downloaded the MY SQL 8.0 Command Line Client, So it shows to me the respective version. It may differ user to user and version to version but the steps would be the same. Please click on MY SQL Command Line Client shown below.

output 25

Step 26: It will open the MySQL Command prompt and ask you to give your root password which you gave while installing MySQL. The type that password and press enter. After authentication, it starts with mysql> shown below.

output 26

Step 27: Check MySQL is working or not so just please check how many databases it has.

Show databases:

All in One Data Science Bundle(360+ Courses, 50+ projects)
Python TutorialMachine LearningAWSArtificial Intelligence
TableauR ProgrammingPowerBIDeep Learning
Price
View Courses
360+ Online Courses | 50+ projects | 1500+ Hours | Verifiable Certificates | Lifetime Access
4.7 (86,584 ratings)

It will show all available databases with MySQL which is displayed below. It means everything is working fine.

It shows it has 6 databases available here. i.e information_Schema, mysql.

output 27

Step 28: If you want to close the MySQL then please type the exit command as below, it will close the MySQL.

output 28

Recommended Articles

This has been a guide to how to install MySQL on windows. Here we have discussed the instructions and steps to install MySQL. You can also look at the following article to learn more –

  1. MySQL Numeric
  2. MySQL Community Server
  3. MySQL JSON Data Type
  4. MySQL IF EXISTS
Popular Course in this category
SQL Training Program (7 Courses, 8+ Projects)
  7 Online Courses |  8 Hands-on Projects |  73+ Hours |  Verifiable Certificate of Completion
4.5
Price

View Course

Related Courses

MS SQL Training (16 Courses, 11+ Projects)4.9
Oracle Training (14 Courses, 8+ Projects)4.8
PL SQL Training (4 Courses, 2+ Projects)4.7
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Data Science Course

SPSS, Data visualization with Python, Matplotlib Library, Seaborn Package

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more