一、安装 mariadb yum -y install mariadb-server mariadb-client 二、测试 use mysql; show tables; select * from db;