0
當我試圖從我的MySQL服務器取我有數據,並生成與此命令的CSV文件:導出從MySQL服務器的SQL數據到本地Mac電腦幫助csv文件,
select * from table into outfile '/Users/username/Desktop/testfile.csv' fields terminated by ',' enclosed by '"' lines terminated by '/n';
我結束了與錯誤:
ERROR 1 (HY000): Can't create/write to file '/Users/username/Desktop/testfile.csv' (Errcode: 13 - Permission denied)
另一個奇怪的問題是我似乎無法阻止服務器運行通過偏好窗格,也許他們是相關的。無論如何,感謝您的幫助!