[ERROR] Error in accept: Too many open files

vim /etc/my.cnf

[mysqld]
open_files_limit=9999