一句命令完成数据库的安装
环境:centos7,可以连接外网
一、安装MariaDB
命令:yum install mariadb mariadb-server -y
[root@chensy ~]# yum install mariadb mariadb-server -y
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00
extras | 2.9 kB 00:00
updates | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
...
Installed:
mariadb.x86_64 1:5.5.68-1.el7 mariadb-server.x86_64 1:5.5.68-1.el7
Dependency Installed:
libaio.x86_64