Hi all,
After every reboot on a KVM machine mysql doesn't work and need to repair manually the DBs to make it work again.
Today after another reboot it doesn't. I'm getting:
ERROR 1016 (HY000) at line 1: Can't open file: .... wherever I'm starting/restarting the db and also:
MySQL said:
#23 - Out of resources when opening file '/tmp/#sql_cf2_0.MYI' (Errcode: 24)
and
mysqlcheck: Error: Couldn't execute 'SHOW DATABASES': Out of resources when opening file '/tmp/#sql_cf2_0.MYI' (Errcode: 24)
From what I read it seems that need to increase the open files or so on the system but I did and still the same.
Any help is much appreciated.
After every reboot on a KVM machine mysql doesn't work and need to repair manually the DBs to make it work again.
Today after another reboot it doesn't. I'm getting:
ERROR 1016 (HY000) at line 1: Can't open file: .... wherever I'm starting/restarting the db and also:
MySQL said:
#23 - Out of resources when opening file '/tmp/#sql_cf2_0.MYI' (Errcode: 24)
and
mysqlcheck: Error: Couldn't execute 'SHOW DATABASES': Out of resources when opening file '/tmp/#sql_cf2_0.MYI' (Errcode: 24)
From what I read it seems that need to increase the open files or so on the system but I did and still the same.
Any help is much appreciated.