mariadb
bash
apt update
apt install mariadb-server mariadb-client -y
bash
systemctl start mariadb
systemctl status mariadb
systemctl enable mariadb
设置 root 密码
bash
mysql_secure_installation
- 使用新密码登陆
bash
mysql -u root -p