Run this command to install MySQL in CentOS:

yum install mysql-server mysql php-mysql