Loading... ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 在MySQL里面执行: ``` show variables like "secure_file_priv"; ``` 可以看到为空: ![][1] 修改配置文件 /etc/my.cnf,,完成后重启mysql ``` secure-file-priv= ``` [1]: https://a-hxin.cn/usr/uploads/2023/04/4100587216.png 最后修改:2025 年 04 月 09 日 © 允许规范转载 打赏 赞赏作者 赞 咱们谁跟谁,用不着~