Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Assuming you are using MySQL, it seems there are no default built-in export utilities. Here is a pretty good tutorial on how to do it without purchasing one of those plugins: http://www.phpfreaks.com/tutorials/114/0.php
Doing a quick search on google... seems they all have an associated cost. However I only looked at the first few, a more in depth search could yield better results.
What you are probably looking for is getting it into a CSV type format. Excel can read that in and use it in a spreadsheet.
Not sure about a flag in mysqldump that can do this, but you could very easily write something in perl, bash, php, python, or any number of other languages that would do what you want.
Hmm...If it's just a text format and you have the filed in dump.sql separated with spaces or tabs you should be able to open it in any spreadshet as a file in CSV format.
i can assure you we all understand perfectly, and you have already been provided you with all the answers you'd need...
you just keep repeating the same 2 lines over and over again...
there is no real reason it should be possible to convert from an sql query into a proprietry format data file for an application that doesn't even work on this platform.
convert it to a CSV file. if you don't know what a CSV file is, look it up. Excel CAN read this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.