Ubuntu MYSQL Not Starting at Boot!

Discussion in 'Server Operation' started by Jawshh, Nov 3, 2010.

  1. Jawshh

    Jawshh New Member


    I recently bought an OpenVZ VPS and installed Ubuntu 10.04 on it. The OS template is from the official templates on OpenVZ.org. I installed and configured NginX, MYSQL and php 5.3 and got everything working fine. I even tested some CMSes and everything worked fine.

    I decided to reboot the VPS today and when I try to access a wordpress based site, I get Error Establishing Database connection. I check on my MYSQL service and I realised that it wasn't running. I logged in as root and typed:

    /etc/init.d/mysql start


    ps aux

    Mysql was running fine but it isn't starting up on boot. I even set it to start on all 4 levels but nothing changed.

    Any ideas?

  2. koressak

    koressak New Member

    You should try to check the logs if there is any hint.
    I suggest syslog and mysql logs.

    Do you have symlinks in rcX.d/ to the mysql binary?

Share This Page