【发布时间】:2017-03-30 19:34:52
【问题描述】:
我不得不使用 Homebrew 1.1.11(mysql@5.6 公式)在 OSX 10.12.4 上重新安装 MySQL 5.6,这是我第一次看到这个问题。基本上,新安装似乎启用了 --secure-file-priv 选项。
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
这是一个有据可查的问题,我已经阅读了这些线程,但似乎没有一个与 Homebrew 设置此选项的位置有关?在我的 MySQL 安装中,没有出现所有提到的文件位置。
我只需要禁用该选项,我不想指定特定文件夹。任何帮助表示赞赏!
【问题讨论】: