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

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

原文地址:https://www.cnblogs.com/ccielife/p/11195289.html