方法1

SELECT orderid INTO 
OUTFILE 'd:/orderid.txt' 
LINES TERMINATED BY '\r\n'
FROM `t_aaa_order`?

报错The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

参考文章

从mysql中导出一列数据到txt

方法2

sqlyog(mysql的客户端)>选中表,右键>导出>导出表数据作为

mysql中倒出数据

相关文章:

  • 2022-12-23
  • 2021-11-30
  • 2021-09-21
  • 2021-07-25
  • 2021-07-05
  • 2021-09-26
  • 2021-10-30
猜你喜欢
  • 2021-10-03
  • 2022-12-23
  • 2021-09-24
  • 2021-06-23
  • 2021-08-28
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案