1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

MySQL down after update

Discussion in 'Plesk for Linux - 8.x and Older' started by StarGate, Jan 1, 2007.

  1. StarGate

    StarGate Guest

    0
     
    Hello,

    I updated my 8.1 just now via the Plesk updater.

    Now MySQL is down or gone and won't start.

    When I try to load Plesk CP I get this:

    ERROR: PleskFatalException
    Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

    0: /usr/local/psa/admin/plib/common_func.php3:153
    psaerror(string 'Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)')
    1: /usr/local/psa/admin/auto_prepend/auth.php3:90

    HELP!!
     
  2. StarGate

    StarGate Guest

    0
     
    h924475:~ # /etc/init.d/mysql start
    Starting service MySQL failed
     
  3. StarGate

    StarGate Guest

    0
     
    Solved, by my tech whom I was thankfully able to reach after hours.

    The Plesk Update changed permission to the /var directory.

    A chmod 775 /var/ in SSH and restart after that (shutdown -r now) solved the problem.

    I hope this helps other people now too as the problem is very new and no post here handles it.
     
Loading...