1
0

my.cnf 555 B

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