MySQL Database Administration
6h 54mBeginner2024-09-26
Authors

Maven Analytics

John Pauler
Course details
MySQL is a powerful tool for managing and analyzing relational databases—a skill that every analyst and BI professional should have in their tool kit. In this course, learn how to design, optimize, and administer relational databases using MySQL Workbench.
Play the role of a database administration (DBA) consultant for Maven Consulting, where your job is to work with the owners of various companies to help them manage data for new and scaling enterprises.
Use the skills you learn in the course to complete actual projects and tasks that database administration professionals work on every day, including creating and editing schemas and tables, inserting and deleting records, and designing efficient, normalized databases.
You’ll also get a chance to practice applying more advanced DBA concepts on real-world projects and case studies, such as stored procedures, triggers, indexes, user permissions, and more.
Learning objectives
Identify key components of the broader SQL landscape, including history, common tools, common flavors, and benefits.
Interpret the core statements used to CREATE, ALTER, and DELETE schemas and tables.
Identify MySQL data types and their proper usage, including DECIMAL, FLOAT, ENUM, DATE, TEXT, and VARCHAR.
Interpret the core statements used to INSERT, UPDATE, and DELETE rows of data.
Apply key principles of database design, including EER diagrams, normalization, cardinality, and primary to foreign key mapping.
Leverage concepts used for data integrity preservation and performance, including constraints and indexes.
Analyze the functionality of advanced automation techniques, including triggers and stored procedures.
Utilize techniques and best practices for user management and server management.
Play the role of a database administration (DBA) consultant for Maven Consulting, where your job is to work with the owners of various companies to help them manage data for new and scaling enterprises.
Use the skills you learn in the course to complete actual projects and tasks that database administration professionals work on every day, including creating and editing schemas and tables, inserting and deleting records, and designing efficient, normalized databases.
You’ll also get a chance to practice applying more advanced DBA concepts on real-world projects and case studies, such as stored procedures, triggers, indexes, user permissions, and more.
Learning objectives
Identify key components of the broader SQL landscape, including history, common tools, common flavors, and benefits.
Interpret the core statements used to CREATE, ALTER, and DELETE schemas and tables.
Identify MySQL data types and their proper usage, including DECIMAL, FLOAT, ENUM, DATE, TEXT, and VARCHAR.
Interpret the core statements used to INSERT, UPDATE, and DELETE rows of data.
Apply key principles of database design, including EER diagrams, normalization, cardinality, and primary to foreign key mapping.
Leverage concepts used for data integrity preservation and performance, including constraints and indexes.
Analyze the functionality of advanced automation techniques, including triggers and stored procedures.
Utilize techniques and best practices for user management and server management.
Skills covered
MySQLDatabase AdministrationDatabase DevelopmentDatabase ManagementOpen SourceSoftware DevelopmentOne-Off
Concepts
Getting Started
- 01 - Course structure and outline
- 02 - Introducing the course project
- 03 - Setting expectations
1. SQL and Relational Database Overview
- 04 - Introduction to SQL
- 05 - Relational databases
- 06 - Relational database management systems
2. MySQL Intro and Setup
- 07 - MySQL installation overview
- 08 - Mac download - Community Server
- 09 - Mac download - MySQL Workbench
- 10 - PC download - Community Server plus Workbench
- 11 - Connecting Workbench to the server
- 12 - MySQL Workbench interface
- 13 - Creating the initial schemas
3. Creating and Altering Schemas and Tables
- 14 - Creating a schema using the MySQL Workbench UI
- 15 - Creating a schema using SQL code
- 16 - Creating a table using the MySQL Workbench UI
- 17 - Creating a table using SQL code
- 18 - MySQL data types
- 19 - Challenge - Creating your own schema and tables
- 20 - Solution - Creating your own schema and tables
- 21 - Adding and removing columns using the MySQL Workbench UI
- 22 - Adding and removing columns with SQL code
- 23 - Challenge - Adding and removing columns
- 24 - Solution - Adding and removing columns
- 25 - Dropping schemas and tables
- 26 - Challenge - Dropping schemas and tables
- 27 - Solution - Dropping schemas and tables
4. Inserting, Updating, and Deleting Records
- 28 - Inserting records into tables
- 29 - Updating data records
- 30 - Challenge - Inserting and updating records
- 31 - Solution - Inserting and updating records
- 32 - Deleting specific records
- 33 - Deleting all records with TRUNCATE
- 34 - Challenge - Deleting records
- 35 - Solution - Deleting records
5. Database Design
- 36 - Primary keys and foreign keys
- 37 - Primary keys and foreign keys demo
- 38 - Challenge - Table relationships
- 39 - Solution - Table relationships
- 40 - Database normalization
- 41 - Database normalization demo
- 42 - Challenge - Normalization
- 43 - Solution - Normalization
- 44 - The EER diagram editor
- 45 - Challenge - EER diagram editor
- 46 - Solution - EER diagram editor
6. Mid-Course Project
- 47 - Challenge - Mid-course project
- 48 - Solution - Mid-course project
7. Advanced Concepts
- 49 - Creating an index
- 50 - The UNIQUE constraint
- 51 - The NOT NULL constraint
- 52 - Challenge - Indexes and constraints
- 53 - Solution - Indexes and constraints
- 54 - Stored procedures
- 55 - Challenge - Stored procedures
- 56 - Solution - Stored procedures
- 57 - Triggers
- 58 - Challenge - Triggers
- 59 - Solution - Triggers
8. Server and User Management
- 60 - Server management
- 61 - Challenge - Server management
- 62 - Solution - Server management
- 63 - Managing users and permissions
- 64 - Challenge - Managing users and permissions
- 65 - Solution - Managing users and permissions
9. Final Project
- 66 - Challenge - Final project
- 67 - Solution - Final project