- Plesk for Linux
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
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.
MySQL service does not start.
'innodb_buffer_pool_size' is too low.
Connect to the Plesk server via SSH.
Note: If direct SSH access to the server is not possible, contact server administrator for further assistance.
my.cnfconfiguration file in a text editor. In this example, we use the vi editor:
on CentOS/RHEL-based distributions
# vi /etc/my.cnf
on Debian/Ubuntu-based distributions
# vi /etc/mysql/my.cnf
my.cnfconfiguration file, you may set it to 100M:
Restart the MySQL service to apply the changes (The command depends on operating system and MySQL version):
# service mariadb restart
# service mysql restart
# service mysqld restart