我尝试使用命令bellow:
将mysql Query导出到CSV文件中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'
我在mysql中收到了这个错误信息:
#1 - Can't create/write to file '\tmp\orders.csv' (Errcode: 2)
我试图修改xampp \ tmp文件夹中的.htaccess文件
来自:
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 Options None
Options +FollowSymLinks
进入:
全部允许
但仍面临同样的错误消息