MariaDB

MariaDB An enhanced, drop-in replacement for MySQL.

In Gentoo, is the default package for items that depend on.

Emerge
Install :

Service

 * OpenRC:
 * To have the database(s) started automatically at boot, add it to the default runlevel:




 * If the database is configured, start the service:




 * Systemd:


 * With MariaDB < 10.1
 * With MariaDB >= 10.1.8
 * As of MariaDB 10.1.8, it includes a notify based unit to use instead a script to check if the system is alive.
 * As of MariaDB 10.1.8, it includes a notify based unit to use instead a script to check if the system is alive.

Preliminary configuration
Gentoo MariaDB package maintainers will help you set up MariaDB through the configuration option in the ebuild.

The configuration will create a database, set proper permissions, and assist you in creating a secure root password (this is for the MariaDB root account, which is not related to the Linux root account).

In-database configuration
When the database is set up and running, connect to MariaDB using the client application.

External resources

 * MariaDB official documentation
 * MariaDB VS MySQL features
 * MariaDB VS MySQL compatibility
 * Moving from MySQL