web123456

How to start mysql in centos 7.0

Centos7 comes with mariadb, a variant of mysql.

Check if it has been installed:
yum list installed mysql*
rpm -qa | grep mysql*

Install mysql software (mariadb)

yum install mysql*

Start mysql
systemctl start or systemctl start

Finish
systemctl stop or systemctl stop

Restart
systemctl restart or systemctl restart

Power on and start
systemctl enable or systemctl enable