MySQL error 168
Problem
A user gets the following exception:
ERROR 1030 (HY000) at line NNNN: Got error 168 from storage engine
Cause
Low limit of open files:
ulimit -n
Solution
Update the Linux limits for open files:
# edit /etc/security/limits.conf
* hard nofile 2048
# restart MySQL
service mysql restart