首页 > 数据库技术 > 详细

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

时间:2017-11-03 18:07:38      阅读:251      评论:0      收藏:0      [点我收藏+]

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%‘;

技术分享

查询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

原文:http://www.cnblogs.com/binglong180/p/7779395.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!