phpmyadmin - CSV import omit a field -
i'm trying import table csv file phpmyadmin. table:
1 |evan|chigur |male|1987-05-25|codefiscale0123|via calatafini 17, palermo, 23451|user@user.it|marco_r|ee11cbb19052e40b07aac0ca060c23ee 22 |hank|zappasorca|male|1987-05-25|codefiscale0123|via calatafini 17, palermo, 23451|user@user.it|marco_r|ee11cbb19052e40b07aac0ca060c23ee
when try fill table this, first field omitted. i've checked out correspondences of fields between cvs , mysql table.
can me?
i use query:
load data local infile 'c:\\wamp\\tmp\\php7e3c.tmp' replace table `bw_users`fields terminated '|'enclosed '"'escaped '\\'lines terminated '*'
how work you?
load data infile 'c:\\wamp\\tmp\\php7e3c.tmp' replace table bw_users fields terminated '|' lines terminated '\n'
for windows change to
lines terminated '\r\n'
Comments
Post a Comment