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.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM