Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a CentOS server which runs few web sites. Suddenly all the web sites stopped functioning and when I check that I noticed that MySQL Service is down. I am new for this server related things. I executed following commands on WebMin since I have access for that.

> /etc/rc.d/init.d/mysqld start
bash: /etc/rc.d/init.d/mysqld: No such file or directory
> service mysqld start
mysqld: unrecognized service

It's really strange since it worked today morning even. Can someone help me in fixing this issue.

Thank you.

share|improve this question
up vote 4 down vote accepted

This looks like MySQL has been uninstalled

Check that:

rpm -qa | grep mysql

returns something like

share|improve this answer
These are the things I get for this command. mysql-libs-5.1.52-1.el5.remi php-5.3-pdo-mysql-zend-server-5.3.8-17 php-5.3-mysqli-zend-server-5.3.8-20 php-5.3-mysql-zend-server-5.3.8-18 mysqlclient15-5.0.92-1.ius.el5 Nobody uninstalled the MySQL that's why I am really confuse about this. – Prasad Rajapaksha Feb 20 '12 at 1:07

I had to install mysql and mysql-server on my centos box:

yum install mysql mysql-server
share|improve this answer

I ran into a similar issue where MySQL service had gone down after some updates. The solution for me was a permissions issue with mysqld. The limited permissions did not allow mysqld to be executable. Try something like:

$ chmod 755 mysqld
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.