开发者

how to import excel 2007 file containing 0.4 million records into mysql table

开发者 https://www.devze.com 2022-12-14 03:12 出处:网络
how to import excel 2007 file containing 0.4 million records into mysql table ? please suggest 开发者_JS百科appreciate any help1) export to csv

how to import excel 2007 file containing 0.4 million records into mysql table ? please suggest

开发者_JS百科appreciate any help


1) export to csv

2) use mysqlimport against csv file.

see: http://dev.mysql.com/doc/refman/5.1/en/mysqlimport.html

from above, win32 instrux:

mysqlimport --fields-optionally-enclosed-by=""" --fields-terminated-by=, --lines-terminated-by="\r\n" --user=YOUR_USERNAME --password YOUR_DATABASE YOUR_TABLE.csv
0

精彩评论

暂无评论...
验证码 换一张
取 消