Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

前端 未结 4 1228
你的背包
你的背包 2020-12-02 10:31

I encountered such a problem: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement when I tr

4条回答
  •  -上瘾入骨i
    2020-12-02 11:14

    I had to set

    C:\ProgramData\MySQL\MySQL Server 8.0/my.ini  secure-file-priv=""
    

    When I commented line with secure-file-priv, secure-file-priv was null and I couldn't download data.

提交回复
热议问题