LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-06-2005, 12:51 PM   #1
Registered: Apr 2005
Location: Russia, West Sibirian town Surgut.
Distribution: SuSE 10.0
Posts: 38

Rep: Reputation: 15
Export MySQL table into MS Excel spreadsheet

Hi, all.
Help me, please.
I have a MySQL database on web server, and PERL scripts working whit it. All I need is a mechanism that can export a table from DB to client MS Excel spreadsheet and vice versa. It may be download/upload for user.
How can I generate MS Excel readable file on base of the MySQL table?
How can I read uploaded from user MS Excel file to insert date into MySQL table on PERL under Linux?

Thank You.
Old 07-06-2005, 01:56 PM   #2
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
I don't know much about the Excel format, but it may be easier to conver to/from a CSV format. It's an easy format that you can probably already find tools to import/export to MySQL, and Excel can also import/export it. And if you can't find tools to import/export to MySQL, it's an easy enough format to write your own import/export for.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Office Spreadsheet -- Web Queries like Excel 1kyle Linux - Software 1 10-09-2005 08:06 PM
export .xls into a mysql table anyone? h/w Programming 1 03-17-2004 11:36 AM
Excel-like spreadsheet for Unix w/ ODBC Capability? sleepymish Linux - Newbie 3 01-12-2004 04:41 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 12:30 PM
mySQL and excel spreadsheet zuessh Linux - Software 1 06-12-2003 08:26 AM

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration