ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

首先输入下面下面命令查看

show global variables like '%secure%';

mysql 导出数据到文件数据异常     ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

查询secure_file_priv 我的当时为null所以要修改:

mysql 导出数据到文件数据异常     ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

修改方法:

 

相关文章:

  • 2021-06-26
  • 2021-09-02
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
猜你喜欢
  • 2021-11-06
  • 2021-12-22
  • 2021-08-12
  • 2021-08-10
相关资源
相似解决方案