show variables like '%secure%';
将文件导出路径更改为查询到的secure-file-priv路径下
select * from table where column = 'query' order by id limit 0,10 into file secure_file_path + file_name.csv;
reference

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2021-08-31
  • 2021-10-16
  • 2022-12-23
  • 2021-06-26
猜你喜欢
  • 2021-09-26
  • 2022-12-23
  • 2021-08-12
  • 2021-08-10
  • 2021-05-19
相关资源
相似解决方案