Lesson_04__MySQL_Installation_and_Setup
Lesson_04__MySQL_Installation_and_Setup
Learning Objectives
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