MySQL在windows上导入数据提示错误(Errcode: 13 - Permission denied)

Posted 钢珠子

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL在windows上导入数据提示错误(Errcode: 13 - Permission denied)相关的知识,希望对你有一定的参考价值。

提示ERROR 1290 (HY000): The mysql server is running with the --secure-file-priv option so it ...statemet

编辑C:\ProgramData\MySQL\MySQL Server 5.7\my.ini,修改secure-file-priv="/"或者其他可以访问的文件夹

提示Errcode: 13 - Permission denied

在windows服务对话框下

If you are using Windows, open services. Right click on mysql service, select properties. In the properties window select Log On tab then Log on as: Local System account.

If you are ready, restart the service and you can select into outfile anywhere where you have permission to write.

以上是关于MySQL在windows上导入数据提示错误(Errcode: 13 - Permission denied)的主要内容,如果未能解决你的问题,请参考以下文章