0
我怎樣才能改變在MySQL服務器目錄\ XAMPP \ tmp目錄的權限爲寫使MySQL服務器在 XAMPP TMP文件夾
堂妹寫權限時,我想創建並在CSV文件中寫與查詢波紋管,我面臨在MySQL這個錯誤味精(無法創建/寫入文件 '\ tmp目錄\ orders.csv'(ERRCODE:2))
查詢:
SELECT g.id, g.name, g.date, g.date_mod, g.status, cree_par, modifier_par
FROM glpi_tickets g , (select id, concat(realname , ' ' , firstname)
cree_par from glpi_users) c, (select id, concat(realname , ' ' ,
firstname) modifier_par from glpi_users) m
where users_id_recipient <> users_id_lastupdater
and users_id_recipient = c.id
and users_id_lastupdater = m.id
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
在此先感謝^^
這是它,感謝的人^^ – YassineEdouiri
我正在使用Windows 7如此之好我可以添加命令((sudo chmod 777/xampp/tmp)) – YassineEdouiri
@YassineEdouiri它是用於unix的。我更新了答案。再次 –