Unable to log in to Plesk, the following error is shown:
PLESK_INFO: ERROR: PleskFatalException
Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: No such file or directory
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: No such file or directory')
Unable to login to MySql, the following error is show:
PLESK_INFO: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
The following warning can be observed in the
CONFIG_TEXT: InnoDB: Warning: difficult to find free blocks from
InnoDB: the buffer pool (986 search iterations)! Consider
InnoDB: increasing the buffer pool size.
InnoDB: It is also possible that in your Unix version
InnoDB: fsync is very slow, or completely frozen inside
InnoDB: the OS kernel. Then upgrading to a newer version
InnoDB: of your operating system may help. Look at the
InnoDB: number of fsyncs in diagnostic info below.
InnoDB: Pending flushes (fsync) log: 0; buffer pool: 0
InnoDB: 139 OS file reads, 0 OS file writes, 0 OS fsyncs
InnoDB: Starting InnoDB Monitor to print further
InnoDB: diagnostics to the standard output.
- MySQL service fails to start.
'innodb_buffer_pool_size' is too low.
Connect to the server via SSH.
Note: If direct SSH access to the server is not possible, contact server administrator for further assistance.
my.cnfconfiguration file, you may set it to 100M:
# grep innodb_buffer_pool_size /etc/mysql/my.cnf
Restart MySQL service:
# service mysqld restart