INTO OUTFILE Errcode: 13

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

INTO OUTFILE Errcode: 13

文章 yehlu »

1.將檔案先寫到 /tmp/XXX 然後再搬移

2.修改
/etc/apparmor.d/usr.sbin.mysqld
加入要放檔案的路徑如
/var/www/551/test/* rw,
加好後要重啟 apparmor
/etc/init.d/apparmor restart
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: INTO OUTFILE Errcode: 13

文章 yehlu »

mysql 權限只有在 /var/lib/mysql 及 /tmp

若是有分www 與 mysql 不同主機,不能用php 寫匯入的指令
faizanijaz
文章: 1
註冊時間: 2014-09-18 16:12:52

Re: INTO OUTFILE Errcode: 13

文章 faizanijaz »

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明
Our fantastic offers for free pass4sure dumps and sas certification study guides prepare you well for the final Brandeis University exam and CISCO papers with great success of University of California, Los Angeles.
johnandrew
文章: 1
註冊時間: 2015-03-22 06:28:48

Re: INTO OUTFILE Errcode: 13

文章 johnandrew »

I hope if it works for me
get latest music website ιντερνετικο ραδιοφωνο your CCTV systems and LED Light Solution for customers on cmvision and watch complete video tutorial on how to make money blogging
回覆文章

回到「MySQL」