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

Application Vault use Incorrect mySQL socket

Discussion in 'Plesk 11.x for Linux' started by Ernie@, Oct 8, 2012.

  1. Ernie@

    Ernie@ Basic Pleskian

    23
    57%
    Joined:
    Aug 27, 2005
    Messages:
    36
    Likes Received:
    0
    When accessing Tools & Settings > Application Vault, it gives the following error,

    Internal error: [unixODBC][MySQL][ODBC 5.2(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

    File: aps_php.php
    Line: 7536
    Type: Exception

    However, the mysql.sock is located at /var/lib/mysql/mysql.sock

    How to correct the ODBC connector uses incorrect socket file?
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    You can create a symlink of /tmp/mysql.sock to /var/lib/mysql/mysql.sock
     
  3. Ernie@

    Ernie@ Basic Pleskian

    23
    57%
    Joined:
    Aug 27, 2005
    Messages:
    36
    Likes Received:
    0
    there's another error after creating the symlink:

    [unixODBC][MySQL][ODBC 5.2(w) Driver]Access denied for user 'psaadm'@'localhost' (using password: NO)

    Please advise. Thanks.
     
  4. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
Loading...