Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
04-21-2012, 05:35 PM #1
- Join Date
- Apr 2012
- Thanked 0 Times in 0 Posts
I m new in mysql.
I have a csv or xml file having fields
country name, birth rate, year,
i want to upload this file into mysql database.
can anybody provide me link to solve this problem
04-23-2012, 08:07 PM #2
CSV will be easier than XML.
One *POSSIBLE* example:
LOAD DATA INFILE '...your file name' INTO TABLE ...yourTableName... FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
"England",1.03,2001 "France",0.97,2001An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.