Centos部署MariaDB数据库服务器
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos部署MariaDB数据库服务器相关的知识,希望对你有一定的参考价值。
数据库服务器在企业中特别常见,本文介绍Centos部署MariaDB数据库服务。
第一步:确保YUN源已经配置好;
第二步:安装数据库软件包,mariadb-server、mariadb 软件包;
yum -y install mariadb-server mariadb
第三步:启动 mariadb 服务,并设置开机自启,确认服务状态
systemctl restart mariadb //启动数据库服务
systemctl enable mariadb //设置开机自启
systemctl status mariadb //检查数据库运行状态
确认服务状态
即可连接测试:
以上是关于Centos部署MariaDB数据库服务器的主要内容,如果未能解决你的问题,请参考以下文章
‘’数据库基础MariaDB服务部署库表基本管理数据类型‘’经典案例