Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 installed hiphop php in CentOS 5.4 via yum with the repositories provided in the guide of the Git repository. Yum installed all the needed packages, including "mysql51".

The problem is, i can't turn on the database using:

"service mysqld start" or "/etc/init.d/mysqld start"

Even when I list all the services available "service --status-all" mysql doesn't appear. So, how I will turn on the database and then connect to store my data?

share|improve this question
What does this have to do with HipHop? You've broken your MySQL database. Check the MySQL error logs in /var/log. – ceejayoz Jan 3 '12 at 17:38
FYI, yum only installed the client instead of the server because that would count as "minimum requirement" – Tim Jan 3 '12 at 18:30
@Tim Good call. Someone running HipHop in production should have a separate server hosting the DB, so it makes sense that it'd leave that out. – ceejayoz Jan 3 '12 at 18:35
Actually is a development server, so it should be ok to have a MySQL server installed there. – Mr_LinDowsMac Jan 3 '12 at 19:24
Yes, but you have to install that MySQL server. HipHop won't, because it (reasonably) assumes said server will be somewhere else. – ceejayoz Jan 3 '12 at 19:46
up vote 3 down vote accepted

Please note that on CentOS 'mysql51" package is the client, "mysql51-server" is the server package. This is the one you want:

yum install mysql51-server
share|improve this answer
I have a conflict when try to install mysql: Processing Conflict: mysql51 conflicts mysql < 5.1 – Mr_LinDowsMac Jan 3 '12 at 19:27
if you use the mysql51 client application, you should install mysql51-server package. I've edited my answer to make it clearer. – CloudWeavers Jan 3 '12 at 19:39

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.