| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2006
Posts: 780
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | SCV/XLS To MySQL Converter? I will pay 50 NP$ Does anyone have a tool/script that converts Excel files or SCV files to MySQL? I will pay 50NP$ to whoever gives me a script or a link to a free script. Thank you!
__________________ EKED.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET EOEI.COM NSTO.COM SPMQ.COM CODV.COM - Pm Offers "What doesn't kill you only makes you stronger..." |
| |
| | #2 (permalink) | ||||
| Senior Member Join Date: Nov 2005 Location: www.mercuryminds.com
Posts: 2,044
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #3 (permalink) | ||||
| NamePros Regular Join Date: Mar 2006
Posts: 397
![]() | I think you cannot find a script to export directly to mysql syntax... but you can export in text file and after that to import directly in mysql. To export in text File use http://bioinformatics.uams.edu/micro...ls/Excel2text/ ????: NamePros.com http://www.namepros.com/programming/182463-scv-xls-mysql-converter-i-will.html If you want to import a csv to mysql try to use : http://www.stadtaus.com/php_scripts/...sql_script.php Also is very easy to import a csv in mysql diretcly from mysql command line or froma a query shell: LOAD DATA LOCAL INFILE '/tmp/csv.file' INTO TABLE `table` FIELDS TERMINATED BY ',' ESCAPED BY '\\' LINES TERMINATED BY '\r\n' Regards
Regards | ||||
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | mysqlimport --fields-optionally-enclosed-by=""" --fields-terminated-by=, --lines-terminated-by="\r\n" --user=YOUR_USERNAME --password=YOUR_PASSWORD YOUR_DATABASE YOUR_TABLE.csv Try that command. or give this script a try: http://codewalkers.com/seecode/448.html
__________________ ask me about the internet |
| |