Can't import CSV data to Mysql
| From: | Jack | Date: | Wed, 24 Apr 2002 09:30:12 +0000 |
| Subject: | Can't import CSV data to Mysql | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13268@lists.php.net to get a copy of this message | ||
Dear all
i had posted this question to mysql@list, but got no reponse, therefore i
think this group might help!
I had made a TXT file from XLS, the field is seperate by comma, there are 4
fields in mysql table (hkd_rate), then i tried this command on mysql:
"LOAD DATA LOCAL INFILE 'c:\hkd_rate.txt' into table hkd_deposit field
seperated by "," " then my GUI mysql client program shows that the command
had execute successfully, but when i type the " select * from hkd_deposit",
it says it return no record. which i believe the data from the hkd_rate.txt
did not load into the table.
Could anyone pls help me why this is happening?