天天看點

72.14. ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

MySQL 不允許向 secure_file_priv 意外的目錄導出檔案。

在 my.cnf 中 加入 secure-file-priv=/tmp 可以修改為你需要的目錄。

原文出處:Netkiller 系列 手劄

本文作者:陳景峯

轉載請與作者聯系,同時請務必标明文章原始出處和作者資訊及本聲明。

繼續閱讀