• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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