vim /etc/my.cnf #mysql配置文件 #增加配置项 open_files_limit=4500 #此配置项默认是1024 #保存退出 service mysql restart #重启mysql