从CentOS7系统开始,MariaDB成为yum源中默认的数据库安装包。在CentOS7及以上的系统中使用yum安装MySQL包将无法使用MySQL,所以我们的第一步还是检查MariaDB是否安装。1.检查MariaDB是否安装yumlistinstalled|grepmariadb2.卸载全部M
阅读全文
1.详细安装过程1.1关闭防火墙systemctlstopfirewalld.service#停止firewallsystemctldisablefirewalld.service#禁止firewall开机启动firewall-cmd--state#查看默认防火墙状态(关闭后显示notrunning
阅读全文