mysql ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement mysql> show global variables like '%secure_file_priv%';

 

mysql5.6 导入报的错误。

 

查看允许导入的目录。show global variables like '%secure_file_priv%';

 

 将文件移动到指定的目录,重新导入即可。

 

posted @ 2019-07-16 15:41  qinliang  阅读(631)  评论(0编辑  收藏  举报