Centos部署MariaDB数据库服务器

     数据库服务器在企业中特别常见,本文介绍Centos部署MariaDB数据库服务器。
     第一步:确保YUN源已经配置好;

Centos部署MariaDB数据库服务器

   第二步:安装数据库软件包,mariadb-server、mariadb 软件包;
                 yum  -y  install  mariadb-server  mariadb

Centos部署MariaDB数据库服务器

    第三步:启动 mariadb 服务,并设置开机自启,确认服务状态
                  systemctl  restart  mariadb   //启动数据库服务
                  systemctl  enable  mariadb    //设置开机自启
                  systemctl  status  mariadb      //检查数据库运行状态

Centos部署MariaDB数据库服务器
确认服务状态
Centos部署MariaDB数据库服务器
即可连接测试:
Centos部署MariaDB数据库服务器

猜你喜欢

转载自blog.51cto.com/11806823/2312939