| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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 | Quote:
| |
| |
| | #3 (permalink) | |
| NamePros Regular | 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/ 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 Quote:
Regards | |
| |
| | #4 (permalink) |
| NamePros Regular | 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 |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |