MariaDB tutorials

MariaDB Tutorials: Learn MariaDB Step by Step

Every MariaDB tutorial on DatabaseFAQs.com, grouped by topic. Install MariaDB, create databases and users, then learn queries, joins, dates and stored procedures.

Coming from MySQL? Most of what you know carries over.

  • 130free MariaDB tutorials
  • 16topics
  • Oct 2026last updated

New to MariaDB? Start here

Read these in order. Each one builds on the one before it.

  1. How to install MariaDBInstall MariaDB and log in for the first time.
  2. How to Create Database in MariaDBCreate your first database.
  3. MariaDB Create Database and User (With GRANT and Login Test)Add a user and grant it access.
  4. How to Create Table in MariaDBCreate a table with keys and data types.
  5. MariaDB Select Statement- Detailed GuideRead and filter your data.
  6. MariaDB Join with ExamplesCombine data from related tables.

The basics5

What it is, what it's good for, and the questions people ask before they commit to it.

Install, connect and tools9

Install it, connect to it, and get your tools working.

Databases, tables and columns24

Create and change databases, tables, columns, keys, indexes and views.

Data types6

Pick the right data type for every column.

SELECT queries, filtering and grouping22

Read data with SELECT, filter it, sort it and summarize it.

Joins3

Combine rows from two or more tables.

Insert, update and delete8

Add, change and remove rows safely.

Strings, numbers and conversions6

Work with text and numbers, and convert between types.

Dates and times8

Format, compare and calculate dates and times.

Functions7

Built-in functions and the ones you write yourself.

Stored procedures, variables and control flow6

Stored procedures, variables, IF/CASE logic, loops, error handling and transactions.

Triggers1

Run code automatically when rows are inserted, updated or deleted.

Users, logins and permissions6

Create users, reset passwords and grant the right permissions.

Backup, import/export and administration7

Back up, restore, import, export, migrate and monitor.

Errors and fixes4

The exact error message, what causes it and the steps that fix it.

Comparisons8

Side-by-side comparisons to help you choose.

Other database tutorials

Looking for everything, newest first? See the full tutorial list.

Frequently Asked Questions

Is MariaDB free?

Yes. MariaDB Server is open source under the GPL and free to use, including in production.

Is MariaDB the same as MySQL?

No, but it’s close. MariaDB began as a fork of MySQL, so most SQL, client tools and connectors work with both. Newer features differ, so check the version you’re running.

Where should a beginner start?

Follow the six steps at the top of this page: install MariaDB, create a database and user, create a table, then learn SELECT and joins.