Udemy - Becoming a Production MySQL DBA
Becoming a Production MySQL DBA
What you'll learn
- 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
Course content
Introduction
- Course Introduction
- Why MySQL?
- DBA vs Developer Course
- Meet Bob, The Future DBA
MySQL Server Installation
- Preparing VM for MySQL Server Installation
- Installing MySQL Server Community Edition
- Installing MariaDB Database Server
- Installing Percona Server for MySQL Server
- Removing MySQL
- Installing Specific Version of MySQL
- Demo - Installing Specific Version of MySQL
- Manually Download RPMs and Locally Install
- Demo - Manually Download RPMs and Locally Install
- Performing MySQL Secure Installation
- Demo - Performing MySQL Secure Installation
- Installing MySQL on Ubuntu
- Linux Utilities
- Demo - Linux Utilities
- Section Recap - What Bob has learned so for
- Quiz on MySQL Server Installation
Exploring MySQL Server
- MySQL Architecture
- MySQL Installed File Locations
- Demo - MySQL Installed File Locations
- MySQL Executable Programs
- MySQL Service under SystemD
- MySQL Shell Commands
- Demo - MySQL Shell Commands
- MySQL Socket File
- Demo - MySQL Socket File
- MySQL GLOBAL Variables
- Demo - Global Variables
- MySQL SESSION Variables
- Demo - MySQL SESSION Variables
- Getting System Variables Help
- MySQL SHOW Command
- Demo - MySQL SHOW Command
- MySQL System Databases
- Demo - MySQL System Databases
- MySQL Local vs Remote Connections
- Demo - MySQL Local vs Remote Connections
- MySQL Shell
- Section Recap - What Bob has learned...
- Quiz on Exploring MySQL Server
Basic MySQL Database Administration
- Storing MySQL Authentication Credentials
- Assignment - Login to MySQL Without Credentials
- mysqladmin - MySQL Administration Program
- Assignment - Perform DBA tasks with mysqladmin
- Executing SQL Files
- Assignment - Execute employees.sql SQL File
- Executing SQL Commands From Terminal
- Importing data with mysqlimport
- Assignment - Import staff.txt file
- Maintaining Integrity with mysqlcheck
- Assignment - Perform mysqlcheck on staff table
- Displaying useful Information with mysqlshow
- Assignment - Get Report on employees database and its tables
- Time Zone Tables
- Assignment - Load Time Zone Tables into MySQL
- MySQL Example Databases
- Assignment - Download World Database
- Listing Binary Logs Events with mysqlbinlog
- Assignment - Investigate When Database was dropped
- Section Recap - What Bob has learned...
- Quiz on Basic MySQL Server Administration
MySQL Storage Engines
- Storage Engines
- Exploring Storage Engines
- FEDERATED Storage Engine
- MEMORY Storage Engine
- Assignment - MEMORY Storage Engine
- BLACKHOLE Storage Engine
- Assignment - BLACKHOLE Storage Engine
- CSV Storage Engine
- Assignment - CSV Storage Engine
- MyISAM Storage Engine
- Assignment - MyISAM Storage Engine
- ARCHIVE Storage Engine
- Assignment - ARCHIVE Storage Engine
- InnoDB Storage Engine
- Assignment - InnoDB Storage Engine
- Checking Storage Engine Status
- Switching Storage Engine
- Installing New Storage Engine
- Disabling Storage Engine
- Section Recap - What Bob has learned...
- Quiz on MySQL Storage Engines
MySQL User Administration
- DBA Account
- MySQL Permissions
- WITH GRANT OPTION
- Assignment - Create DBA Account
- Connecting to MySQL
- Exploring MySQL Workbench
- Creating Regular MySQL Users
- Grant Permissions
- Lock/Unlock MySQL Account
- mysql_native_password & caching_sha2_password auth plugins
- MySQL Roles
- Assignment - MySQL Roles
- Section Recap - What Bob has learned...
- Quiz on MySQL User Administration
MySQL Server Configuration
- MySQL Default Configuration File
- Assignment - Locate Default Option File
- MySQL Option/Configuration File Syntax
- Assignment - Re-Write Default Option File
- Variable or Option in Option File?
- Changing Default Option Files Location
- Assignment - Change Default Location of Option File
- STRACE & LSOF With MySQL
- Demo - STRACE & LSOF
- Option File Inclusions
- Assignment - Option File Inclusions
- DATA_DIR MySQL Data Directory
- Assignment - Move DATA DIRECTORY
- Binary Log Files
- Purging Binary Log Files
- Assignment - Disable Binary Logging
- Assignment - Enable Binary Logging
- Binary Logs Retention
- MySQL Error Log File
- Assignment - Change MySQL Error Log File Location
- Adjusting Timestamp of MySQL Error Log File
- MySQL TEMP Directory
- Assignment - Change TMPDIR Location
- Removing Double-Entry for MySQL Error Log File
- Section Recap - What Bob has learned...
- Quiz on MySQL Server Configuration