title: #2000 - LOAD DATA LOCAL INFILE is forbidden, check mysqli.allow_local_infile
body: <p>I would like to run command on MYSQL to load csv data into database:</p>
  
  <pre><code>LOAD DATA LOCAL INFILE 'XXX.csv' 
  </code></pre>
  
  <p>Then I got this error:</p>
  
  <pre><code>#2000 - LOAD DATA LOCAL INFILE is forbidden, check mysqli.allow_local_infile
  </code></pre>
  
  <p>I uses MySQL version 5.5.62 , php version 7.3.3.13</p>
  
  <p>I have <code>mysqli.allow_local_infile = On</code> and my.cnf <code>local-infile=1</code></p>
  
  <p>Is there anything else to enable Load data working ?</p>