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 upgrade

Discussion in 'Plesk for Linux - 8.x and Older' started by atomicmak, Apr 19, 2005.

  1. atomicmak

    atomicmak Guest

    what will be easiest way to get MySql 4.0.2 or greate ?
  2. smtalk

    smtalk Guest

  3. w3it

    w3it Guest

    Which I used on a standard 7.5 install and got this error:

    Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0: /usr/local/psa/admin/auto_prepend/auth.php3:66 psaerror(string "Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")

    Any help appreciated.

  4. defencer

    defencer Guest

    w3it, check that your mysql server is working at all. Try this and send the results here:

    # service mysql status
    # service mysqld status

    and also:

    # ps ax | grep mysql
  5. w3it

    w3it Guest

    What an error. Brought down Plesk because of a restart was needed. Maybe something in yum could at least say "Now restart MySQL".

    Thanks for all your help
  6. atomicturtle

    atomicturtle Golden Pleskian

    Nov 20, 2002
    Likes Received:
    Washington, DC
    Thats a bad trigger in the psa, you'll get the same result when updating mysql 3 packages as well.

    Fortunately its a benign error, mysql 4 (or a newer mysql 3 for that matter) is successfully being installed, however psa will report mysql 3 (or older version thereof) as being installed in the CP, due to aforementioned bad trigger.