su root
Pssword
vim /etc/hosts
192.168.1.51 itpuxdb
查看主机中是否已经安装了mysql
rpm -qa | grep mysql
rpm -qa | grep mariadb
rpm -e –nodeps mariadb-libs-5.5.56-2.el7.x86_64
rpm -e –nodeps mariadb-5.5.56-2.el7.x86_64
rpm -e –nodeps mariadb-server-5.5.56-2.el7.x8