MariaDB 11.x · 300+ functions

MariaDB
Function Reference

Every MariaDB function. Real examples. MySQL differences noted. Anti-patterns called out. Built for developers who need answers fast.

Try: · · ·

Browse by Category

10 categories

Frequently Reached For

About This Reference

This MariaDB function reference is part of pgref.dev, which also covers PostgreSQL and SQLite. Every function includes MySQL compatibility notes, making it ideal for developers migrating between MariaDB and MySQL or working with both simultaneously.

MariaDB is a community-developed fork of MySQL with additional features including better JSON support, window functions, Oracle compatibility modes, and the Aria storage engine. Functions that differ between MariaDB and MySQL are clearly flagged.

Key areas covered: string manipulation (CONCAT, REGEXP_REPLACE, SUBSTRING_INDEX), date and time functions (DATE_FORMAT, TIMESTAMPDIFF, STR_TO_DATE), JSON functions (JSON_EXTRACT, JSON_TABLE, JSON_ARRAYAGG), and window functions.

The Quirks & Gotchas page covers the most important MariaDB surprises: NULL propagation in CONCAT, SYSDATE vs NOW differences, case-insensitive collation defaults, and SQL mode effects.