how can i change the privilege of the directory \xampp\tmp in Mysql Server into write
coz when i want to create and write in a csv file with the query bellow , i'm facing this error msg in mysql (Can't create/write to file '\tmp\orders.csv' (Errcode: 2))
the query :
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'
thanks in advance ^^