• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can not update plesk via GUI - mysql_connect(): error Unable to connect to database:

VinnyT

Regular Pleskian
I get the following error when trying to update plesk:

Internal error.
ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:139)

The following command works with no issue:
mysql -uadmin -p`cat /etc/psa/.psa.shadow`

- When i log out, and log back in, my panel has been updated to the latest version!!
- If i run autoinstaller from the commandline, it does not appear that the updated were added. The autoinstaller tool tells me that i have 11 packages needing to be upgraded. Running the tool successfully upgrades the server with no MySQL errors.

Any ideas?
 
Hello,

Try to update your Plesk panel through GUI and check your MySQL logs through command line : /var/log/mysqld.log
 
Back
Top