码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2018-04-15 20:59:50      阅读:1285      评论:0      收藏:0      [点我收藏+]

标签:read   service   rest   对话   sql   提示   mys   using   can   

提示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)

标签:read   service   rest   对话   sql   提示   mys   using   can   

原文地址:https://www.cnblogs.com/gangzhuzi/p/8849047.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!