-2

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?

CloudWeavers
  • 2,531
  • 1
  • 15
  • 17
Mr_LinDowsMac
  • 295
  • 1
  • 10
  • 21
  • 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 03 '12 at 17:38
  • 1
    FYI, yum only installed the client instead of the server because that would count as "minimum requirement" – Tim Jan 03 '12 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 03 '12 at 18:35
  • Actually is a development server, so it should be ok to have a MySQL server installed there. – Mr_LinDowsMac Jan 03 '12 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 03 '12 at 19:46

1 Answers1

3

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
CloudWeavers
  • 2,531
  • 1
  • 15
  • 17