I am trying to import a SQL file, that has about 5.5 GB of data, into one of my local schemas on my Macbook machine. I keep getting the following error in mysql which prevents the import from finishing:
errno: 24 - Too many open files)
I created a my.cnf
file and placed it in the following directory /usr/local/Cellar/mysql/5.7.25/my.cnf
. The my.cnf
file has the following set
open_files_limit = 100000
however, when I run the following query I still have the open_files_limit
set to 256:
SHOW VARIABLES LIKE 'open%';
I am not sure what the issue is.