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