• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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