MariaDB 5.5 or newer support the utf8mb4 character set by default (https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/). There should not be any need for a configuration change in the database server. However, the application must instruct the database to use utf8mb4 after it connects to the db, for instance in PHP MySQLi: