MySQL Database Administration Fundamentals

5 Day Course
Hands On

Book Now - 2 Delivery Methods Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online


This MySQL Database Administration course is designed for MySQL Database Administrators who have a basic understanding of a MySQL database and SQL commands. The course provides practical experience in setting up and maintaining a MySQL server, including backing up, recovery, configuration and optimization.


The delegate will practise:

  • Starting, Stopping and Configuring MySQL
  • Security-Related Configuration
  • MySQL Database Creation
  • Using Client Programs for MySQL DBA Work
  • Setting up Character Set Support
  • Locking
  • Using Storage Engines, including the MyISAM and InnoDB engines
  • Table Maintenance
  • Obtaining Data from the Information_Schema Database
  • Backup and Recovery, including Exporting (mysqldump) and Importing (mysqlimport
  • Using Stored Procedures and Triggers for Database Administration Tasks
  • User Management
  • Securing the Server
  • Upgrade-Related Security Issues
  • Optimizing Queries
  • Optimizing Schemas
  • Optimizing the Server
  • The Event Scheduler
  • Partitioned Tables
  • Interpreting Error Messages
  • Optimizing the MySQL Environment
  • Scaling MySQL, including Replication

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.


Hide all

Client Programs for DBA Work (5 topics)

  • Introduction
  • Client Program Limitations
  • mysql
  • MySQL Admin
  • Exercises: Using Client Programs

The Information_Schema Database (5 topics)

  • What is Metadata?
  • The mysqlshow Utility
  • The SHOW and DESCRIBE Commands
  • The Information_Schema Database
  • Exercises: Obtaining Information about MySQL

MySQL Administrator (10 topics)

  • Installation
  • Connecting
  • Server Information
  • Service Control
  • User Administration
  • Privileges
  • Health
  • Backup and Restore
  • Catalogs
  • Exercises: Using the MySQL Administrator Tool

Interpreting Error and Diagnostic Information (8 topics)

  • MySQL Error Messages
  • The SHOW Statement
  • SQL Modes
  • The PERROR Utility
  • The Log
  • The Error Log
  • The Slow Query Log
  • Exercises: Interpreting Error and Diagnostic Information

MySQL Architecture (6 topics)

  • Client/Server Overview
  • Communication Protocols
  • The SQL Parser and Storage Engine Tiers
  • How MySQL Uses Disk Space
  • How MYSQL Uses Memory
  • Exercises: Examining the Architecture

Installing, Configuring, Starting and Stopping (12 topics)

  • MySQL Distributions
  • Installing on Windows
  • Installing on Linux and UNIX
  • Starting and Stopping on Windows
  • Starting and Stopping on UNIX/Linux
  • Configuration
  • Log and Status Files
  • The Default SQL Mode
  • Time Zone Tables
  • Some Security Issues
  • Upgrading
  • Exercises: Installing, configuring, stopping and starting

Tables, Data Types and Character Set Support (18 topics)

  • Table Properties
  • Creating Tables
  • Altering Tables
  • Dropping Tables
  • Emptying Tables
  • Obtaining Table Metadata
  • Column Attributes
  • Bit Data Type
  • Numeric Data Types
  • Character String Data Types
  • Binary String Data Types
  • Enum and Set Data Types
  • Temporal Data Types
  • Auto_Increment
  • Handling Missing or Invalid Data Values
  • Performance Issues with Character sets
  • Choosing Data Types for Character Columns
  • Exercises: Creating and Maintaining Tables

Locking (5 topics)

  • Locking Concepts
  • Explicit Table Locking
  • Advisory Locking
  • Preventing Locking Problems
  • Exercises: Locking

Storage Engines (6 topics)

  • Introduction
  • The MYISAM Engine
  • Locking with MYISAM Tables
  • The Merge Engine
  • Other Engines: Archive, Memory, Federated, Blackhole, NDBCluster
  • Exercises: Using Storage Engines

The Innodb Engine (9 topics)

  • Introduction
  • Features of Innodb
  • Transactions
  • Referential Integrity
  • Physical Characteristics of Innodb Tables
  • Tablespace Configuration
  • Log File and Buffer Configuration
  • Innodb Status
  • Exercises: Using the InnoDB Engine

Table Maintenance (10 topics)

  • Table Maintenance Operations
  • Check Table
  • Repair Table
  • Analyze Table
  • Optimize Table
  • MySQL Check
  • Repairing Innodb Tables
  • Enabling MYISAM AutoRepair
  • Exercises: Maintaining Tables

Backup aand Recovery (13 topics)

  • Planning and Implementing a Backup and Recovery Strategy
  • Defining a Disaster Recovery Plan
  • Testing a Backup and Recovery Plan
  • The Advantages and Disadvantages of Different Methods
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Recovery
  • Import and Export Operations
  • Exporting Using SQL
  • Importing Using SQL
  • Exporting from the Command Line using mysqldump
  • Importing from the Command Line using mysqlimport
  • Exercises: Backing up and Recovery

User Management (10 topics)

  • Introduction
  • User Accounts
  • Creating Users
  • Renaming Users
  • Changing Passwords
  • Dropping Users
  • Granting Privileges
  • The User Table
  • Connection Validation
  • Exercises: Creating, Managing and Dropping Users

Privileges (7 topics)

  • Introduction
  • Types of Privileges
  • Revoking Privileges
  • Resource Limits
  • The MySQL Database
  • The Show Grants Command
  • Exercises: Granting and Revoking Privileges

User Variables and Prepared Statements (3 topics)

  • User Variables
  • Prepared Statements
  • Exercises: User Variables and Prepared Statements

Stored Routines for Administration (6 topics)

  • Types of Stored Routines
  • Benefits of Stored Routines
  • Stored Routines Features
  • Stored Routine Maintenance
  • Stored Routine Privileges and Execution Security
  • Exercises: Creating and Using Stored Routine

Triggers (4 topics)

  • DML Triggers
  • The Create Trigger Statement
  • Managing Triggers
  • Exercises: Creating and Using Triggers

Securing the Server (9 topics)

  • Security Issues
  • Operating System Security
  • Filesystem Security
  • Log Files and Security
  • Network Security
  • Upgrade-related Security Issues
  • Upgrading the Privilege Tables
  • Security-Related SQL_Mode Values
  • Exercises: Securing the Server

Optimizing Queries (9 topics)

  • Optimization Overview
  • Optimization Process
  • Planning a Routine Monitoring Regime
  • Setting Suitable Goals
  • Identifying Candidates for Query Analysis
  • Using Explain to Analyze Queries
  • Meaning of Explain Output
  • Using Explain Extended
  • Exercises: Explaining and Optimizing Queries

Optimization and Indexes (7 topics)

  • Indexes for Performance
  • Creating and Dropping Indexes
  • Obtaining Index Metadata
  • Indexing Principles
  • Indexing and Joins
  • MyIsam Index Caching
  • Exercises: Using Indexes for Optimization

Optimizing Schemas (6 topics)

  • Normalisation
  • General Table Optimizations
  • Myisam Specific Optimizations
  • Innodb Specific Optimizations
  • Other Engine Specific Optimizations
  • Exercises: Optimizing Schemas

Optimizing the Server (6 topics)

  • Measuring Server Load
  • System Factors
  • Server Parameters
  • Query Optimizer Performance
  • The Query Cache
  • Exercises: Optimizing the Server

Optimizing the Environment (6 topics)

  • Choosing the Platform
  • Hardware Configurations
  • Disk Issues on Linux
  • Symbolic Links
  • Optimizing the Operating System
  • Exercises: Optimizing the Environment

The Event Scheduler (6 topics)

  • Event scheduler concepts
  • Event scheduler configuration
  • Creating, altering and dropping events
  • Event scheduler monitoring
  • Events and privileges
  • Exercises: Using the event scheduler

Partitioned Tables (8 topics)

  • Partitioned tables concepts
  • Range partitioning
  • Hash partitioning
  • Key partitioning
  • List partitioning
  • Composite partitioning or subpartitioning
  • Maintenance of partitioned tables
  • Exercises: Using partitioned tables

Scaling MySQL (3 topics)

  • Using Multiple Servers
  • Replication
  • Exercises: Using Replication


A working knowledge of MySQL is required. This can be gained by attendance on the Introduction to MySQL course.

Additional Learning

The courses below may help you meet the knowledge level required to take this course.

Scheduled Dates

Please select from the dates below to make an enquiry or booking.


Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Jan Feb Mar Apr May Jun
MYSDBA 5 Days $2,035

Course PDF


Share this Course


Recommend this Course