查询:select * from a_test into outfile 'd:/ent.txt' 错误代码: 1290 The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
查询 secure_file_priv 的值
show global variables like '%secure%';
查询结果:
Variable_name
VALUE
require_secure_transport
OFF
secure_file_priv
C:\\ProgramData\\MySQL\\MySQL SERVER 8.0\\Uploads\\