#启动
systemctl start mariadb
#开机自启
systemctl enable mariadb
#查看是否运行
systemctl status mariadb
#设置密码
[root@localhost ~]# mysql -uroot
MariaDB [(none)]> use mysql;
MariaDB [mysql]> SET password=PASSWORD('newpassward');
MariaDB [mysql]> FLUSH PRIVILEGES;
标签:mariadb,命令,systemctl,mysql,password,MariaDB
From: https://www.cnblogs.com/xiaoovo/p/17059680.html