MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. It is notable for being led by the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle.
MariaDB packages can be installed by running
Defining variables that will be used for setup and configuration
Installing mysql database
You should get something like
* Caching service dependencies ... [ ok ] * Starting mariadb ... 161122 09:23:06 mysqld_safe Logging to syslog. [ ok ]
Setting root password
Creating new user, removing sequrity sensitive data
Modifying configuration file /etc/mysql/my.cnf
Normally you want to start the MariaDB server when the system is launching. This is done by adding MariaDB to the needed runlevel.
Now MariaDB server should start automatically when you launch your system next time. To test that run:
To make sure that mysql started run:
You should get something like this:
382 mysql 0:00 /usr/bin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --pid-file=/run/mysqld/mysqld.pid --socket=/run/mysqld/mysqld.sock --port=3306 383 root 0:00 logger -t mysqld -p daemon.error