How to Install Magento with Sample Data

In this tutorial we will show you how to setup Magento Sample Data on a new Magento Installation

Magento Sample Data allows you to setup your Magento E-Commerce website with some demo products, images and data to populate the store. This can help you to learn how to use the Magento store by exploring the demo products configuration settings or to simply setup a demo store and test different templates or modules.


FastComet Magento Hosting package is specially optimized to provide fast and secure hosting environment to support all Magento features and functionality. 


Start a Magento website in just 3 minutes:

To help you get started with Magento our Technical Support team provides Free Magento Installation.

  • Free Magento Installation by our Support Team
  • Free Domain Name for Life
  • Optimized SSD Magento Hosting
  • Fast and Secure Servers


Do not install Magento Sample Data into your production Magento Store. Sample data can be installed only on a new Magento installation. 


Step 1 Download Magento Sample Data

The Magento sample data installation is a relatively straight forward process which we will follow in this tutorial. To obtain the demo data, please refer to the Magento download page. From the Sample Data section, select the desired format of the sample data archive and click on the Download button. Be advised that you should be a registered member in order to download the archive from the Magento website. The registration process is free and straight forward.


Dowload Magento Sample Data

When you have the Magento sample data downloaded on your local computer you should unzip it and locate the .sql file (ex: magento_sample_data_for_1.6.1.0.sql). 


Step 2 Import Magento Sample Data

The most important step you should be aware of is that the Magento sample data should be imported into a new, empty database prior the Magento installation.  To achieve this, log into your hosting account control panel and create a new database and username. If you are a FastComet customer you can create a database via your cPanel following the instructions in our cPanel Tutorial.


When you have your database created, please refer to your database management tool such as phpMyAdmin. This can be done via your cPanel>phpMyAdmin icon.


Access cPanel phpMyAdmin


This will direct you to your phpMyAdmin interface. Locate your newly created database on the left and click on it.


Access Magento Database


When you have your database selected you should use the Import option to import the sql file of the Magento Sample data you have downloaded.


Import Magento Sample Data


When you are ready, click the GO button on the bottom of your page. This will import the sample data and you are ready to proceed with the actual Magento installation.


Step 3 Installing Magento

To complete the actual Magento installation you may follow the steps in our How to install Magento Manually tutorial.



During the manual installation  you have to use the same database into which you have imported the sample data in the previous step. 


Step 4 Uploading Sample Media Content

When you complete the Magento manual installation you should upload the media content files from the archive you have downloaded. The files must be uploaded into your Magento installation folder on your hosting account. The media files are located under the 'media' directory of the Magento Sample data archive you have downloaded. You can upload these files using your favorite FTP client by following our FTP Tutorial.