Installing mariadb-server --MariaDB database server

Install "mariadb-server" so that you can use the MariaDB database server. MariaDB is an open source, MySQL-compatible, forked project from MySQL. Install with the apt command.

sudo apt install -y mariadb-server

Confirm that MariaDB database server is installed

Use the status of the systemctl command to confirm that the MariaDB database server has been installed.

systemctl status mariadb

The status is displayed as follows.

● mariadb.service --MariaDB 10.1.44 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset:
   Active: active (running) since Mon 2020-05-18 12:38:49 JST; 58s ago
     Docs: man: mysqld (8)
           https://mariadb.com/kb/en/library/systemd/
 Main PID: 33941 (mysqld)
   Status: "Taking your SQL requests now ..."
    Tasks: 27 (limit: 9479)
   CGroup: /system.slice/mariadb.service
           mq33941 / usr / sbin / mysqld

Associated Information