Suddenly when tried to connect with mysql client, started appearing /usr/sbin/mysqld: Can't open file: xxx.frm (errno: 24). Tried to restart the mysql service but failing to restart properly and can't get it on its feet.
Found below solution which works like a charm !!!
mahen@laptop# vim /etc/mysql/my.cnf
Found below solution which works like a charm !!!
mahen@laptop# vim /etc/mysql/my.cnf
[mysqld]
innodb_file_per_table=1
local-infile=0
open_files_limit=9978
Save the file and restart mysql service by giving following command
mahen@laptop# /etc/init.d/mysql start
Thus mysql starts without any errors. :)
OS : Ubuntu 14.04 LTS
MySQL server : 5.5.37-0ubuntu0.14.04.1