..
Ubuntu 上安装 MariaDB
sudo apt update
sudo apt install mariadb-server
sudo systemctl status mariadb
systemctl start mariadb.service #启动MariaDB
systemctl stop mariadb.service #停止MariaDB
systemctl restart mariadb.service #重启MariaDB
systemctl enable mariadb.service #设置开机启动