Course Overview
**Disclaimer**
For the section Running MySQL on Docker, This course requires you to download Docker Desktop If you are a Udemy Business user, please check with your employer before downloading software.
**Course Overview **
Welcome to this amazing course on MySQL Server Administration. You will learn all aspects of MySQL Server including setting it up, managing it, troubleshooting it. You will learn how to upgrade MySQL, how to setup replication, how to migrate to AWS cloud, and much more!
** Course Contents **
MySQL Server Introduction
Why MySQL?
Meet Bob, The future DBA
MySQL Websites
MySQL Server Installation
Installing MySQL Server Community Edition
Installing MariaDB Database Server
Installing Percona MySQL Server
installing Specific MySQL Version
Removing MySQL
Exploring MySQL Server
MySQL Architecture
MySQL Installed File Locations
MySQL Executable Programs
MySQL Shell Commands
MySQL Socket File
MySQL Global & Session Variables
MySQL Remove vs Local Connections
MySQL User Administration
MySQL Accounts
Creating DBA Account WITH GRANT OPTION
MySQL Roles
Granting Permissions to Roles
Granting Roles to Users
MySQL Database Administration
Storing Auth Credentials using mysql_config_editor
MySQL Administrative Programs
mysqlimport, mysqlshow, mysqlcheck utilities
Loading Time Zone Data
Downloading Example Databases
MySQL Server Configuration
MySQL Default Option Files
Adding Option Files
Option File Inclusions
MySQL Error Log
MySQL Binary Log Files
Relocating InnoDB System Tablespaces
Moving Redo Log Files
Upgrading MySQL Server
Performing MySQL Minor Version Upgrade
Performing MySQL Major Version Upgrade
Running Pre-Upgrade Checks
Version Comparison Between Primary & Replica
MySQL Replication
Performing Traditional Position-Based Relication
Performing GTID Replication
Ignoring Databases for Replication
Excluding Tables from Replication
MySQL Storage Engines
BLACKHOLE
MEMORY
INNODB
CSV
MySQL InnoDB Storage Engine Configuration
InnoDB Architecture
Memory-Based Architecture
InnoDB Buffer Pool
Dedicated Server
Doublewrite Buffer
System Tablespaces
MySQL Backup & Restore
Performing Hot Backup
Performing Cold Backup
Performing Logical Backups
Restoring from Hot/Cold Backups
Running MySQL on Docker
Installing Docker Engine
Pulling MySQL Image
Running MySQL Container
DBA Tips & Tricks Club
Customizing MySQL Prompt
MySQL Database Objects
Views
Stored Procedures
Functions
Triggers
Events
** January 2023 - Course Update **
SECTION: Running MySQL on Docker
Lessons Added:
Converting MySQL Instance to Container
Installing MySQL Server on Docker Host
Demo - Attach Container to Instance
** Feburary 2023 - Course Update **
NEW SECTION: Cloud Database Administration
Lessons Added:
Cloud Database Lab Setup
Creating Droplets on DigitalOcean
Disabling SELINUX
GTID Based Replication Setup
Online Data Duplication using xbstream
Setting up AWS Cloud Replica
NEW SECTION: Database Scripting
Lessons Added:
Introduction to Shell Scripting
Shell Script Permissions
Bash Shell Shebang
Mixing Text with Shell Commands
Shell Script Arguments
Shell Variables
Output of Command as Variable
For Loop in Shell Scripting
Assignment: Create Shell Sript to Create MySQL Accounts
Assignment: Create Shell Script to Download Example Database
Assignment: Create Shell Script to Create tables in specific databases
Introduction to Percona Toolkit
Installing Percona Toolkit
pt-mysql-summary
pt-summary
NEW SECTION: MySQL Database Objects
Lesson Added:
1. Section Introduction
COURSE UPDATES:
* DBA interview questions are added for section 2
* DBA interview questions are added for section 3
We will be adding more content to this course soon...
FAQ
FAQ area empty
Course curriculum
-
Old - Preparing VM for MySQL Server Installation
331 -
Choose AL2023, The latest Linux Operating System
180 -
Amazon Web Services Account
186 Xem trước -
Creating Key Pair & Security Group
678 Xem trước -
Creating AL2023 VM for MySQL Server Installation
364 -
AL2023 VM Version Compatibility with RHEL
336 -
Download & Install MySQL 8 Repo for AL2023
424 Xem trước -
Installing MySQL Server Community Edition on AL2023
383 -
Installing MySQL Server Community Edition
293 -
Installing MariaDB Database Server
304 -
Installing Percona Server for MySQL Server
232 -
Removing MySQL
275 -
Installing Specific Version of MySQL
124 -
Demo - Installing Specific Version of MySQL
373 -
Manually Download RPMs and Install Locally
200 -
Demo - Manually Download RPMs and Install Locally
224 -
Performing MySQL Secure Installation
131 -
Demo - Performing MySQL Secure Installation
263 -
Installing MySQL on Ubuntu
404 -
Linux Utilities
134 -
Demo - Linux Utilities
260 -
Section Recap - What Bob has learned so for
88 -
Quiz on MySQL Server Installation
-
DBA Interview Questions
462
-
MySQL Architecture
262 -
MySQL Installed File Locations
168 -
Demo - MySQL Installed File Locations
172 -
MySQL Executable Programs
122 -
MySQL Service under SystemD
268 -
MySQL Shell Commands
189 -
Demo - MySQL Shell Commands
204 -
MySQL Socket File
82 -
Demo - MySQL Socket File
180 -
MySQL GLOBAL Variables
106 -
Demo - Global Variables
205 -
MySQL SESSION Variables
120 -
Demo - MySQL SESSION Variables
126 -
Getting System Variables Help
210 -
MySQL SHOW Command
66 -
Demo - MySQL SHOW Command
144 -
MySQL System Databases
173 -
Demo - MySQL System Databases
257 -
MySQL Local vs Remote Connections
134 -
Demo - MySQL Local vs Remote Connections
129 -
MySQL Shell
133 -
Section Recap - What Bob has learned...
96 -
Quiz on Exploring MySQL Server
-
DBA Interview Questions
766
-
Storing MySQL Authentication Credentials
130 -
Assignment - Login to MySQL Without Credentials
209 -
Mysqladmin - MySQL Administration Program
110 -
Assignment - Perform DBA tasks with mysqladmin
109 -
Executing SQL Files
197 -
Assignment - Execute employees.sql SQL File
344 -
Executing SQL Commands From Terminal
263 -
Importing data with mysqlimport
199 -
Assignment - Import staff.txt file
445 -
Maintaining Integrity with mysqlcheck
145 -
Assignment - Perform mysqlcheck on staff table
74 -
Displaying useful Information with mysqlshow
99 -
Assignment - Get Report on employees database and its tables
159 -
Time Zone Tables
138 -
Assignment - Load Time Zone Tables into MySQL
170 -
MySQL Example Databases
93 -
Assignment - Download World Database
109 -
Listing Binary Logs Events with mysqlbinlog
126 -
Assignment - Investigate When Database was dropped
155 -
Section Recap - What Bob has learned...
100 -
Quiz on Basic MySQL Server Administration
-
Storage Engines
171 -
Exploring Storage Engines
203 -
FEDERATED Storage Engine
203 -
MEMORY Storage Engine
129 -
Assignment - MEMORY Storage Engine
237 -
BLACKHOLE Storage Engine
142 -
Assignment - BLACKHOLE Storage Engine
97 -
CSV Storage Engine
113 -
Assignment - CSV Storage Engine
187 -
MyISAM Storage Engine
210 -
Assignment - MyISAM Storage Engine
176 -
ARCHIVE Storage Engine
153 -
Assignment - ARCHIVE Storage Engine
226 -
InnoDB Storage Engine
186 -
Assignment - InnoDB Storage Engine
277 -
Checking Storage Engine Status
397 -
Switching Storage Engine
202 -
Installing New Storage Engine
209 -
Disabling Storage Engine
274 -
Section Recap - What Bob has learned...
66 -
Quiz on MySQL Storage Engines
-
DBA Account
95 -
MySQL Permissions
229 -
WITH GRANT OPTION
86 -
Assignment - Create DBA Account
356 -
Connecting to MySQL
452 -
Exploring MySQL Workbench
399 -
Creating Regular MySQL Users
313 -
Grant Permissions
323 -
Lock/Unlock MySQL Account
206 -
Mysql_native_password & caching_sha2_password auth plugins
308 -
MySQL Roles
244 -
Assignment - MySQL Roles
196 -
Section Recap - What Bob has learned...
148 -
Quiz on MySQL User Administration
-
MySQL Default Configuration File
403 -
Assignment - Locate Default Option File
232 -
MySQL Option/Configuration File Syntax
320 -
Assignment - Re-Write Default Option File
281 -
Variable or Option in Option File?
102 -
Changing Default Option Files Location
78 -
Assignment - Change Default Location of Option File
110 -
STRACE & LSOF With MySQL
135 -
Demo - STRACE & LSOF
385 -
Option File Inclusions
175 -
Assignment - Option File Inclusions
118 -
DATA_DIR MySQL Data Directory
195 -
Assignment - Move DATA DIRECTORY
167 -
Binary Log Files
497 -
Purging Binary Log Files
262 -
Assignment - Disable Binary Logging
232 -
Assignment - Enable Binary Logging
379 -
Binary Logs Retention
209 -
MySQL Error Log File
201 -
Assignment - Change MySQL Error Log File Location
210 -
Adjusting Timestamp of MySQL Error Log File
137 -
MySQL TEMP Directory
112 -
Assignment - Change TMPDIR Location
205 -
Removing Double-Entry for MySQL Error Log File
153 -
Section Recap - What Bob has learned...
174 -
Quiz on MySQL Server Configuration
-
InnoDB Storage Engine
237 -
InnoDB Architecture
238 -
InnoDB Buffer Pool
279 -
Demo - InnoDB Buffer Pool
368 -
InnoDB Log Buffer
282 -
Assignment - InnoDB Log Buffer
135 -
InnoDB Flush Method
149 -
O_DIRECT OR O_DIRECT_NO_FSYNC
219 -
Assignment - Change InnoDB Flush Method
149 -
Doublewrite Buffer
361 -
Assignment - Doublewrite Buffer
375 -
Flushing Logs at Transaction Commit
281 -
Assignment - Setting value of innodb_flush_log_at_trx_commit
110 -
InnoDB Redo Log Files
370 -
Assignment 1 - InnoDB Redo Log Files
144 -
Assignment 2 - InnoDB Redo Log Files
85 -
Assignment 3 - InnoDB Redo Log Files
401 -
System Tablespace
279 -
Assignment - System Tablespace
457 -
Undo Tablespaces
160 -
Demo - Undo Tablespaces
424 -
Temporary Tablespaces
183 -
General Tablespaces
117 -
File-Per-Table Tablespaces
296 -
Dedicated MySQL Server
282 -
Turning Dedicated Server ON
268 -
Overriding Dedicated Server Settings
189 -
Section Recap - What Bob has learned...
106 -
Quiz on Storage Engine Configuration
-
MySQL Backups
174 -
Physical/Cold Backup
187 -
Assignment - Perform Physical/Cold Backup
359 -
Assignment - Restore From Physical/Cold Backup
516 -
Files needed for Cold Backup
75 -
Logical Backups
123 -
MySQLDUMP Backup Program
188 -
Assignment - Take Backup with MySQLDUMP
405 -
Restoring from MySQLDUMP
185 -
MySQLPUMP Backup Program
383 -
Demo 1 - MySQLPUMP
244 -
Demo 2 - MySQLPUMP
175 -
Assignment - Backing Up MySQL Accounts
248 -
Assignment - Restore MySQL Account
307 -
Compressing MySQL Backups
172 -
Assignment - Compress MySQL Backup
192 -
Assignment - Restore MySQL Compressed Backup
157 -
Creating Consistent Data Dump
94 -
CREATE TABLE LIKE SQL Statement
181 -
MySQL Hot Backup
245 -
MySQL Hot Backup Tools
260 -
XtraBackup Hot Backup Tool
163 -
Assignment - Download & Install XtraBackup
359 -
Assignment - Backup with XtraBackup
434 -
Assignment - XtraBackup Backup Files
270 -
Preparing Hot Backup Restore
353 -
Assignment - Restore From Hot Backup
518 -
Section Recap - What Bob has learned...
231 -
Quiz on MySQL Backup & Restore
-
Replication Concepts
297 -
Replication Methods
307 -
Replication Formats
208 -
Replication Formats Comparison
438 -
General Replication Setup Requirements
194 -
Primary Server
197 -
Assignment - Configure Primary Server
540 -
Cleanup Options from Option File
80 -
Demo 1 - Install MySQL On Replica Server
409 -
Demo 2- Install MySQL On Replica Server
209 -
Start MySQL on Replica
226 -
Hot Backup on Primary for Replication
193 -
Copy Hot Backup from Primary to Replica
357 -
Restore Hot Backup on Replica
575 -
Replica Server Configuration
196 -
Assignment - Configure Replica
315 -
Configure Binary Log Position Based Replication
54 -
Assignment - Configure Binary Log Replication
476 -
Set Report Host on Replica
260 -
SHOW REPLICA STATUS
451 -
Demo - Replica IO_THREAD
155 -
Demo - Replica SQL_THREAD
169 -
Demo - Ignore Database
215 -
Demo - Ignore Table
258 -
Cleanup Traditional Replication
374 -
Setting up GTID Replication
146 -
GTID Replication Requirements
137 -
Prepare GTID Replication
269 -
Assignment - Setup GTID Replication
309 -
Start Replica Until Command
202 -
Demo - Start Replica with Until
442 -
Primary Replica Failover
201 -
Prepare Primary Replica Failover
282 -
Assignment - Failover Primary to Replica
540 -
Assignment - Configure Old Primary to Replica
342 -
Section Recap - What Bob has learned...
86 -
Quiz on MySQL Server Replication
-
Types of MySQL Version Upgrades
80 -
Preparing for Minor Version Upgrade
180 -
Assignment - Perform Minor Version Upgrade
364 -
Demo - Primary & Replica Version Compatibility
127 -
Installing MySQL 5.7
306 -
Download World Example Database
103 -
Mysqlcheck - Pre-Upgrade Check
157 -
Mysqlsh script - Pre-Upgrade Check
378 -
Demo - Perform MySQL Major Version Upgrade
412 -
Section Recap - What Bob has learned...
135 -
Quiz on Upgrading MySQL Server
-
Introduction
135 -
Install Docker
385 -
Pull & Inspect MySQL Docker Image
442 -
Run MySQL as Container
620 -
MySQL Container Logs
260 -
MySQL Container Host
391 -
Removing MySQL Container
242 -
Exposing Port From Container to Host
374 -
Create DBA User Bob
200 -
Remotely Login to MySQL Container
258 -
Demo - Data Loss at Container Removal
331 -
Bind Volume For Data Persistence
384 -
Demo - Persistant Volume
212 -
Converting MySQL Instance to Container
89 -
Installing MySQL Server on Docker Host
435 -
Demo - Attach Container to Instance
308 -
Section Recap - What Bob has learned...
66
-
Cloud Database Lab Setup Introduction
230 -
Cloud Project Highlights
211 -
Create Droplets on DigitalOcean
472 -
Disable SELINUX & Reboot Droplets
452 -
Install MySQL Server
535 -
Secure Installation & Admin Users
299 -
Restore Backup Primary to Replica
423 -
Setup GTID Based Replication
535 -
Add Report-Host for Replica
118 -
Setup Cloud Replica on AWS
492 -
Install MySQL on Cloud Replica
428 -
Online Data Duplication Requirements
107 -
Installing Requirement Tools
369 -
Setup Cloud Replica
745
-
What we will cover?
141 -
Introduction to Shell Scripting
185 -
Shell Script Executable Permissions
124 -
Bash Script Shebang
84 -
Mixing Text & Shell Commands
100 -
Shell Script Arguments
175 -
Adding Comments to Shell Script
89 -
Create Your First Shell Script
-
Using Shell Variables
111 -
Demo - Shell Variables
104 -
Output of Command as Variable
97 -
For Loop in Bash Scripting
249 -
Assignment - Create Shell Script to Create MySQL Users
132 -
Solution - Shell Script to Create MySQL Accounts
204 -
Assignment - Create Shell Script to Download Example Database
133 -
Solution - Shell Script to Download Example Database
255 -
Assignment - Shell Script to Create Table in Specific Databases
101 -
Solution - Shell Script to Create Table in Specific Databases
205 -
Introduction to Percona Toolkit
122 -
Installing Percona Toolkit
210 -
Getting MySQL Report from pt-mysql-summary
303 -
Getting System Summary Report with pt-summary
214 -
MySQL Slow Query Log
290 -
Enabling Slow Query Log
436 -
Mysqldumpslow utility
268 -
Pt-query-digest utility
285
Requirment
-
You must have basic understanding of MySQL or any RDBMS
-
You must know the basics of linux operating system.
Outcomes
-
You will learn how to install latest version of MySQL Server including MariaDB and Percona Server for MySQL.
-
You will learn how to secure the installation of MySQL and how to start/stop/restart MySQL service using systemd.
-
You will learn how to customize MySQL server configuration, how to store InnoDB log files, binary log files, MySQL server log files in separate locations.
-
You will learn how to connect to MySQL locally as well as remotely and how to perform database administration.
-
You will learn how to perform minor and major MySQL upgrades, how to install new components and remove plugins.
-
You will learn how to setup GTID-based master-slave replication, and how to setup filtered replication.
-
You will learn how to take logical as well as physical backup, how to restore MySQL backups, how to setup a new slave from backup.
-
You will learn how to troubleshoot MySQL server issues.
-
You will learn how to run MySQL in Docker
0 Student
1 Course
0 review