Check /etc/my.cnf. Under the [mysqld] section, if you have a open_files_limit variable, increase it, eg:
open_files_limit=32768
then restart mysqld.
systemctl restart mysql
3) Confirm in mysql itself by checking the open_files_limit variable to ensure it’s increased, by running the SQL query:
show global variables like ‘open%’;