• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

ERROR: PleskFatalException: Unable to connect to database: mysql_connect()

euphbasio

Basic Pleskian
Hi guys,

So a bit stumped by this one. Clean installation of both Ubuntu 12 and Centos 6 on a VM and fresh installation of Plesk 11.5 using parallels_installer.

When trying to open the panel, I see the below.

There are a few suggestions around about mysql connections etc., but nothing appears to apply to these.

ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): Permission denied (auth.php:142)

Any suggestions would be much appreciated.

Thanks in advance.
 
Have you checked /var/log/mysql/mysql.log?
Make sure that you have correct permissions on /tmp and enough free disk space and inodes.
 
Hi Igor,

Thanks. There was nothing in the mysql.log, tmp permissions correct and 100GB+ free disk space.

The error was permissions of mysql.sock were set to 755. chmod 777 sorted it out. It is odd though, since this was a fresh installation.

Take care,

Nick
 
Back
Top