ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 解决方法
- show variables like ‘%secure%’;
- Mysql下的my.ini配置文件查找 secure_file_priv
限制 [mysqld] 不允许导入与导出 secure_file_prive=null
限制某个文件夹 Secure_file_priv=”D/wamp64/tmp”;
无限制 Secure_file_priv
解决
: my.ini配置文件下查找mysqld 下方加入
Secure_file_priv=”D/wamp64/tmp”;
D/wamp64/tmp 便为对应的导出文件夹,
=》 重启服务器
成功: