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

    https://survey.webpros.com/

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