Symptoms
- MySQL 5.5 is installed on Plesk server.Â
- Errors in
/var/log/mysql/error.log
or/var/log/mysql.log
:Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
Cause
and
key_buffer
are deprecated in MySQL 5.5.
myisam-recover
option is renamed as of MySQL 5.5.3 to
myisam-recover
.
myisam-recover-options
Resolution
Note: This article may require additional administrative knowledge to apply. If any help is required, contact server’s administrator or hosting support.
- Log in to Plesk server via SSH
- Rename the options inÂ
/etc/my.cnf
or/etc/mysql/my.cnf
as below using vi editor:key_buffer_size = 16M
myisam-recover-options = BACKUP - Restart MySQL server:
# service mysql restart || systemctl restart mariadb || service mysqld restart