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

Lesson_04__MySQL_Installation_and_Setup

Uploaded by

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

Lesson_04__MySQL_Installation_and_Setup

Uploaded by

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

Installation and Setup

Learning Objectives

By the end of this lesson, you will be able to:

Download MySQL Community

Install MySQL Workbench and Server

Download a sample MySQL database

Load data into MySQL Workbench


Downloading MySQL Community
MySQL Community Download

MySQL is an open-source database management system available at MySQL’s official website.


MySQL Community Download

On the installer page, find an option to download either an online or offline setup file.

Visit the provided link to navigate to the mentioned page and download version 8.0.25 from -
https://dev.mysql.com/downloads/installer/
Installing MySQL Workbench and Server
MySQL Workbench and Server

In the Choosing a Setup Type screen, select Custom option to choose the features to be installed.
MySQL Workbench and Server

In the Select Products and Features screen, select the latest version of MySQL Server by expanding
MySQL Servers and the latest version of Workbench by expanding Applications.
MySQL Workbench and Server

In the Check Requirements screen, agree to install the requirements for the installation of the selected
products.
MySQL Workbench and Server

Now, click on Execute to begin the installation process of the Workbench and Server.
MySQL Workbench and Server

Next, in the Server Installation window, continue with the default settings.
MySQL Workbench and Server

In the Accounts and Roles screen, set the MySQL root account password.
MySQL Workbench and Server

Continue with the default settings. In the Windows Service screen, make sure that you check the Start
MySQL Server at System Startup checkbox.
MySQL Workbench and Server

Click Execute in the Apply Configuration screen to complete the installation process.
MySQL Workbench and Server

Once you click Finish, the MySQL Workbench will automatically start.
Connecting to MySQL Server
MySQL Server

A connection with MySQL server will be automatically set up after the installation.
Assisted Practice: Loading a Sample Database

Duration: 20 Mins

Problem Statement: You are required to download the given sample database file and load the same
in the MySQL Workbench.
Assisted Practice: Loading a Sample Database

Steps to be performed:
1. Download the sample database from the course resources section of the LMS.
Assisted Practice: Loading a Sample Database

Steps to be performed:
2. Launch your MySQL Workbench.
Assisted Practice: Loading a Sample Database

Steps to be performed:
3. Load Data into MySQL Lab Environment from local system
Assisted Practice: Loading a Sample Database

Steps to be performed:
4. Load the downloaded database.
Assisted Practice: Loading a Sample Database

Steps to be performed:
5. Create a new Schema.
Key Takeaways

MySQL is an open-source database system.

You can download either an online or offline installer.

MySQL Workbench and Server are required to execute SQL


commands.

A MySQL Server connection is automatically created during


installation.

You might also like