感谢大佬:https://blog.csdn.net/u014711094/article/details/78501771

select * into outfile 'g:/temp1.txt' fields terminated by ',' from test1;

[Err] 1290 - The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
show variables like 'secure%';  --查看secure-file-priv

secure_file_priv = ''           --不对限制导入导出

secure_file_prive = null        --不允许导入导出

secure_file_priv = /tmp/        --只能在/tmp/导入导出

--解决方法,[mysqld]下添加
secure_file_priv = ''


补充:

感谢大佬:https://zhidao.baidu.com/question/1371483889923963099.html

mysql导出到文件错误(err 1290)

相关文章:

  • 2021-09-18
  • 2021-10-10
  • 2021-10-04
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-05-27
  • 2022-01-08
  • 2021-12-15
  • 2022-01-10
相关资源
相似解决方案