1
0

my.cnf 850 B

12345678910111213141516171819202122232425
  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. # 2. Allow any password (disabling strict password requirements)
  12. # Note: For MySQL 8+, the variable uses a dot (validate_password.policy).
  13. # For MySQL 5.7, it uses an underscore (validate_password_policy).
  14. validate_password.policy = LOW
  15. validate_password.length = 1
  16. validate_password.mixed_case_count = 0
  17. validate_password.number_count = 0
  18. validate_password.special_char_count = 0
  19. [mysql]
  20. # Enable local infile on the client side
  21. local_infile = 1