MariaDB is an open-source database management system, commonly used as an alternative for the MySQL portion of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It is intended to be a drop-in replacement for MySQL and Debian now only ships with MariaDB packages. If you attempt to install MySQL server related packages, you’ll receive the compatible MariaDB replacement versions instead.
The short version of this installation guide consists of these three steps:
- Update your package index using
- Install the
apt. The package also pulls in related tools to interact with MariaDB
- Run the included
mysql_secure_installationsecurity script to restrict access to the server