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";

可以看到为空:

修改配置文件 /etc/my.cnf,,完成后重启mysql

secure-file-priv=
最后修改:2024 年 01 月 24 日
咱们谁跟谁,用不着~