[mysqld] # --------------------------------------------------------- # MySQL Configuration Settings # --------------------------------------------------------- # 1. Allow loading files from ANY directory # Setting secure_file_priv to empty string removes all directory restrictions # for the LOAD DATA INFILE command. secure_file_priv = "" # Enable local infile on the server side local_infile = 1 # Note: We configure validate_password via SQL directly if needed, instead of my.cnf. [mysql] # Enable local infile on the client side local_infile = 1