- Plesk for Linux
Plesk is not accessible:
CONFIG_TEXT: Error 2002. ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Connection refused /var/run/mysqld/mysqld.sock (Error code: 2002)
MySQL crashes intermittently. There is an error in
CONFIG_TEXT: InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
InnoDB: Completed initialization of buffer pool
InnoDB: Fatal error: cannot allocate memory for the buffer pool
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported storage engine: InnoDB
MySQL buffer size is bigger than free RAM available on the server.
- Connect to the server using SSH.
- Check how much free RAM there is on the server:
# free -m
- Change/Decrease MySQL buffer pool size in
- Restart MySQL service:
# service mysqld restart