How to Install Sample Data in Magento?

This tutorial will teach you how to install Magento E-Commerce website with sample data (demo products, images and data).

 

Download Magento Sample Data

 

Refer to Magento Download page, under Sample Data section select the desired format of the sample data archive and click on the Download button. Please note that you should be a registered member to download the archive from the Magento website. Once Magento sample data is downloaded on your local computer, unzip the archive and locate the .sql file (file should look like, magento_sample_data_for_1.6.1.0.sql.

Select Sample Data Archive

 

Import Magento Sample Data


Please note that Magento sample data must be imported into new (empty) database prior to the Magento installation. To achieve this, login to your hosting control panel and create a new database and username. Here is the tutorial to create MySQL database and username in cPanel.

 

Once an empty database is created, locate and click database >>phpMyAdmin in cPanel. This will open phpMyAdmin interface. At phpMyAdmin interface, select newly created database, click on Import option to import the .sql file of the Magento sample data you have just downloaded. Click on GO button to import the Magento sample data. You can also refer to our article How to import MySQL database from phpMyAdmin.


Install Magento


Install Magento manually to your web hosting space. During the manual installation, do not forget to use the same database into which you have imported the Magento sample data in the previous step.


Upload Sample Media Content


Once you finish the Magento installation, upload the media content files from the sample data archive. This sample media content file must be uploaded to your Magento installation directory. All media files are stored under media directory of the Magento sample data archive you have downloaded.
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

What is the Max_execution_time allowed for Linux shared server?

Default Max_execution_time on our Linux Shared Server is 30 seconds. We can set it to 60 Seconds...

Parse HTML As PHP Using HTACCESS File

There are times wherein you are required to parse HTML web pages as PHP. Suppose, you have older...

What is the URL to access my webmail?

For our Linux users, the webmail URL is https: //www.<yourdomainname.com>:2096. For our...

How to Install WordPress Manually in Linux Shared Hosting?

We offer one click installer Softaculous to our Linux Shared Hosting customers to install popular...

MySQL : Access denied for user 'Mysql_dbuser'@'localhost' (using password: YES) in /home/cPanel_user/public_html/file path.php

You may face this error while using mysqli_connect function on your website. Cause : This may...