修改my.cnf文件,增加open_files_limit = 8196。 我的默认值是1185。 重启mysql,service mysql restart 参考官方网址:http://gix.my/blog/mysql-cant-open-file-errno-24