I am on a server that has afresh install on RHEL 5. I was able to install Apache and PHP just fine., but I am having serious trouble with my MySQL installation. I tried t
mysql_install_db –-user=mysql --ldata=/var/lib/mysql
Worked for me in Centos 7