How to Create an XLS File From MySQL Results

How to Create an XLS File From MySQL Results thumbnail
Creating spreadsheets from MySQL result data is a built-in feature of the MySQL Query Browser.

The MySQL Query Browser is a powerful administrative tool that allows you to send queries directly to your database and return a piece of information known as a result set. Included with many MySQL installations and freely available from the MySQL website, the query browser features the ability to save query results in a number of formats. The XLS format for Microsoft Excel is natively supported by the browser and makes exporting MySQL data into a spreadsheet a quick task.

Things You'll Need

  • MySQL Server
  • MySQL Query Browser
Show More

Instructions

    • 1

      Obtain the MySQL query browser if you do not already have it. It is part of the MySQL GUI Tools, which are located on the the MySQL website. The manual includes comprehensive installation instructions for your operating system.

    • 2

      Open the MySQL Query Browser and enter the server name, user name and password for your MySQL server. Select your database and enter the SQL query you would like to run in the query area at the top of the screen.

    • 3

      The main window in the middle-left of the screen will display your MySQL results. Right-click these results and select "Export Resultset" on the drop-down dialog. Select "XLS" as your export format and choose the location on your hard drive where you would like to save the file. You have now saved your MySQL results as an XLS spreadsheet.

Tips & Warnings

  • Be sure you are running SELECT commands when gathering data, as DELETE and UPDATE commands will alter your database.

Related Searches:

References

Resources

  • Photo Credit deep in database image by .shock from Fotolia.com

Comments

You May Also Like

  • How to Export a Query to XLS

    A query is the result of a search of a database. For example, if you have a database of mailing addresses you...

  • How to Export XLS to Access

    Spreadsheets are methods of managing lists and financial reports, but at one point, you may need to export your Excel spreadsheets into...

  • How to Create Excel Spreadsheets With MySQL

    MySQL is an open source, relational database management system. It allows multiple computer users to access data to one or many databases...

  • Problems With an Infinite Responder

    A variety of spam is sent over the Internet daily at an astonishing rate. Due to new or advanced email services, such...

  • How to Create a Text File for MySQL

    You can create a text file for MySQL by using a text editor or software program. Text files can send commands or...

  • How to Upload & Resize a PHP MySQL Image

    When dealing with a large amount of images, it is often useful to store them in a database. This makes accessing and...

  • How to Convert a DOC File to XLS

    A Word file with the .doc extension can be broken up into columns upon converting it into an Excel spreadsheet with the...

  • How to Create XLS With JavaScript

    JavaScript is a web-based programming language. While it is normally used for creating menus, creating and dealing with forms and for other...

  • How to Create XLS Files

    There are many different file extensions that you can use in the computing world. Each file extension is associated with a specific...

  • How to Write XLS Data in ASP

    Writing web content that opens up in Excel can be a fairly simple process involving two key actions. The first action is...

  • How to Convert a MySQL Database to a Comma Delimited CSV File

    There are many reasons you could want to convert a MySQL database to a comma deliminated CSV file. This guide will walk...

  • How to Convert a Quicken QIF to XLS

    Quicken is the extremely popular financial software used for everything from tracking stocks to monitoring your business. QIF is the default file...

  • How to Use JDBC to Connect to MS Excel

    JDBC, or Java Database Connectivity, is a programming interface that is part of the Java programming language. It allows a software client...

  • How to Convert MS Excel to MySQL With PHP

    Microsoft Excel is a computer program used to create and maintain spreadsheets. These spreadsheets take the format of a table, like multiplication...

  • How to Create XLS

    XLS files are data files that are created to be compatible by the Microsoft Excel spreadsheet application. Microsoft extended the traditional XLS...

  • How to Export XLS to TXT

    Export Excel format, XLS, to a text file format, TXT, using spreadsheet software to "Save" the file as text. Many spreadsheet programs...

  • How to Delete From MySQL

    MySQL, an open-source database, provides small and large companies with a database engine used for desktop and Web applications. The MySQL database...

Related Ads

Featured