설치
$ apt update
$ apt install mariadb-server
설치확인 및 제어
$ systemctl status mariadb
$ systemctl start mariadb
$ systemctl stop mariadb
$ systemctl restart mariadb
$ dpkg -l | grep mariadb
접속 (root 계정인 경우)
$ mysql
제거 (깨끗이 지워지지 않으므로 dpkg -l | grep mariadb 명령으로 확인하며 지워야 함)
$ apt purge mariadb-server
$ dpkg -l | grep mariadb