
Master MariaDB through a hands-on, learn-by-doing course that teaches setup, management, and optimization for robust databases across environments including Docker, with practical labs and step-by-step tasks.
Install MariaDB, connect via the command line, and bring a server to a running, secured database you can trust. Configure 50server.cnf and set up security to create your first database.
Install MariaDB on Ubuntu and connect for the first time, starting a database server and using the MariaDB client to log in as root from the command line.
Explore how MariaDB is configured in 50server.cnf, covering data dir, socket, port, InnoDB buffer pool size, max connections, slow query log, and bind address; verify changes with show variables.
Hardens a fresh MariaDB install with sudo my-sql secure-installation, creates sales-undercore-data, assigns lab-underscore-user with restricted access, and applies least-privilege grants.
Learn to create a MariaDB database and tables, assign data types and keys, and master the core SQL commands: create, insert, select, update, delete, and drop.
Master the four core CRUD actions in MariaDB: insert, select, update, and delete, and use precise where clauses to safely manage data and differentiate delete from drop.
Learn how to enforce least privilege in MariaDB by creating users with scoped privileges, granting and revoking access, and using roles to manage access at scale.
Create and apply roles to manage privileges efficiently, granting a bundled set to developers on projectalpha.star and updating access for all users by adjusting the role.
Design clean tables by choosing appropriate data types, applying constraints like not null, default, unique, and auto-increment, and evolving schemas with alter table to prevent bad data.
Learn how to select MariaDB data types like int, varchar, decimal, date, boolean, and text, ensuring data integrity. Use alter table to resize columns in place without data loss.
Apply constraints, defaults, and auto-increment to MariaDB tables to enforce data integrity. Make email not null and unique, set default is active to true, and auto-increment the customer_id primary key.
Explore partitioning to tame huge tables by splitting data into partitions and using pruning to read only relevant slices; Learn range and list, plus hash and key partitioning.
Explore how partitioning splits a large table into partitions and enables pruning for faster queries, with range and list strategies and a primary key requirement.
Explore how storage engines like InnoDB, MyISAM, and ARIA affect data storage, speed, and reliability in MariaDB, with practical steps to set defaults and per-table engines.
Back up and restore databases with mysqldump, creating a logical backup of create table and insert statements. Restore by recreating the database and feeding the dump back in with mysql.
Package MariaDB with docker to ensure consistent, isolated databases across machines, using the official image, a dockerfile, and docker compose to connect containers with a shared volume.
Learn to containerize MariaDB and a Flask app, build images, and run them. The app reads four environment variables—dbHost, dbUser, dbPassword, and dbName—to connect, and Docker Compose links the containers.
Use docker compose to connect the app and MariaDB with a shared network and a persistent dbdata volume. Bring up the stack with docker compose up --build -d.
Dive into the world of database management with our immersive and hands-on course: Learn By Doing - MariaDB. This course is designed to provide you with practical, real-world experience in configuring, managing, and optimizing MariaDB databases. Whether you're new to databases or looking to deepen your skills, this course will empower you with the knowledge and confidence to manage MariaDB effectively.
Course Highlights:
1. Basic Configuration of MariaDB
Learn the foundational setup and configuration of MariaDB.
Understand how to install and configure MariaDB for optimal performance.
2. User Management
Gain practical experience in creating and managing database users.
Learn how to control user access and ensure database security through permissions and roles.
3. Columns
Explore the different types of columns and data types in MariaDB.
Learn how to define and manipulate columns to suit your data needs.
4. Partition Tables
Understand the concept of table partitioning.
Get hands-on experience in creating and managing partitioned tables to improve query performance and manage large datasets.
5. Engines
Discover the various storage engines available in MariaDB.
Learn how to choose and configure the right storage engine for your specific use case.
6. Backup and Logging
Master the strategies for backing up MariaDB databases.
Understand the importance of logging and learn how to configure and manage logs for troubleshooting and auditing purposes.
7. MariaDB on Docker
Gain practical knowledge in deploying and managing MariaDB instances in Docker containers.
Learn the benefits and challenges of containerizing your database environment.
By the end of this course, you will have hands-on experience with MariaDB, from basic configuration to advanced replication and performance tuning. You'll be equipped to manage databases confidently and effectively, ensuring they are secure, efficient, and reliable. Start your journey with MariaDB today and become a skilled database professional!