I am trying to install sample data provided with Magento Community Edition ON my localhost using WAMP Server. This is the error that I get.


Did you;

  1. Actually create a database for your installation in PhpMyAdmin
  2. Have you selected (by clicking on) the database before you went to import.

This is more PHPMyAdmin related than Magento I think. Please use the MySQL commandline tool to import the data. If you're on Windows please use the following command

C:\xampp\mysql\bin\mysql -u [username] -p [databasename] < magento_sample_data_for_1.9.0.0.sql

Not the answer you're looking for? Browse other questions tagged or ask your own question.