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?

link|improve this question

50% accept rate
3  
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 at 17:38
1  
FYI, yum only installed the client instead of the server because that would count as "minimum requirement" – Tim Jan 3 at 18:30
1  
@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 at 18:35
Actually is a development server, so it should be ok to have a MySQL server installed there. – ianenri Jan 3 at 19:24
1  
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 at 19:46
feedback

1 Answer

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
link|improve this answer
I have a conflict when try to install mysql: Processing Conflict: mysql51 conflicts mysql < 5.1 – ianenri Jan 3 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 at 19:39
feedback

Your Answer

 
or
required, but never shown

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