Article ID: 120312, created on Mar 23, 2014, last review on May 11, 2014

  • Applies to:
  • Plesk for Linux/Unix


Plesk Panel dysplays the below error upon logging in:

ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory


Plesk PHP configuration file contains incorrect option for pdo_mysql socket file (or one of the include files does so):

[root@~]# grep pdo_mysql /usr/local/psa/admin/conf/php.ini
pdo_mysql.default_socket = /var/run/mysqld/mysqld.sock


Make sure that /usr/local/psa/admin/conf/php.ini' contains the same socket option as specified in '/etc/my.cnf':

[root@~]# cat /etc/my.cnf|grep socket

Also check the file '/etc/psa/psa.conf' for the same option:

[root@~]# grep -i socket /etc/psa/psa.conf
MYSQL_SOCKET /var/lib/mysql/mysql.sock

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c

Email subscription for changes to this article