I have tried installing mysql several times but keep getting this error:mysqld: unrecognized serviceI've tried: yum remove mysql-server yum remove mysqlyum remove MySQL-*thenyum install mysql-server yum install mysql yum install mysql-develand then both/etc/init.d/mysqld startservice mysqld startbut keep getting that error.Is there a way to recreate that file possibly? 
recreate mysqld file centos
linux;centos;mysql
try :yum install mysql yum install mysql-server yum install mysql-devel chgrp -R mysql /var/lib/mysql chmod -R 770 /var/lib/mysql service mysqld start It states in the ouptut of the last command to copy and paste mysql.server into the appropriate runlevel area for your install. find the file mysql.server on the machine anywhere. Anyone know where it is or how to proceed? It also states to set the passwords for your root account like so /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h hostname password 'new-password' 