Starting MySQL.. ERROR! The server quit without updating PID file

This article is a bit outdated. Please visit the following article instead. It includes a better discussion on how to solve this problem using different scenarios:

Thanks.

–Derrick

Our sponsors:

10 Replies to “Starting MySQL.. ERROR! The server quit without updating PID file”

  1. Ramon Resendiz

    My solution was the next one:

    1.- Remove the MySQL rpm package.
    2.- Delete all the data from the mysql_data dir (Eg. /var/lib/mysql).
    3.- If existe /etc/my.cnf, rename it to /etc/my.cnf.backup.
    4.- Re-install the MySQL rpm package.
    5.- Start the MySQL service.
    6.- Set the MySQL admin password.

    I hope this work for you too.

    Best regards,
    Rr

    Reply
  2. sebastian

    this error hapend after updating my PHP from 5.1 to 5.3, before that my building server was working
    but both ways doesnt work

    Reply
    • Derrick Post author

      Hi Sebastian,

      PHP should have nothing to do with this MySQL error. Are you sure you only update the PHP without touching the MySQL Server/Client?

      By the way, updating PHP is tricky. You need to update both the core (/usr/port/lang/php5) and extensions (/usr/port/lang/php5-extensions) together. After that, you need to test whether they are happy with each other or not:

      php -v
      

      If any extension complains (which is likely), you need to fix them one by one. I blog all of these here

      –Derrick

      Reply
  3. Elizer Dela Cruz

    Ramon Resendiz, THANK YOU VERY MUCH, your instructions are very direct to the point and clear!!!! I’ve searched alot of instructions and reinstall mysql multiple times in fedora 16!! THANK YOU AGAIN!

    Reply

Leave a Reply to sebastian Cancel reply

Your email address will not be published. Required fields are marked *