1

I am new to Mangeto, i just installed magento few days before and started learning from online sources, then i required to install sample data. i read that i should install sample data with the installation of magento, but that i did not do, i did not install sample data while installing magento.

Please let me know how to install sample data on already installed magento or let me know how to delete the old magento so that i could install fresh magento with sample data..

i am using WAMP server on windows Platform

Thanks in advance

7
  • Sample data means any module or extension? Commented Jul 3, 2015 at 1:19
  • @MeenakshiSundaramR - sample data means whichever is available at www.magentocommerce.com › Knowledge Base devdocs.magento.com/guides/m1x/ce18-ee113/… Commented Jul 3, 2015 at 1:28
  • Install new magento with sample data. If you want to delete magento delete magento folder and used database. Commented Jul 3, 2015 at 1:36
  • means directly deleting directory under 'www' folder. i have magento folder under www. and droping the related database.. Correct ?? Commented Jul 3, 2015 at 1:43
  • Yes, delete magento folder and database Commented Jul 3, 2015 at 1:45

1 Answer 1

3

There is no built-in uninstaller for Magento.

If you followed best practices while developing Magento, all of your Magento-related files should be located under the same root folder in your filesystem, and all Magento-related database tables should be located in the same database.

If that's the case, uninstalling is as simple as deleting the files in the filesystem:

sudo rm -rf <magento root dir>

And dropping the database associated with Magento:

mysqladmin -u[username] -p[password] drop [database]

If you can't remember the name of the database your Magento installation uses, you can find that in app/etc/local.xml in the dbname node. You'll also find relevant login information there.

If you placed files or tables outside the bounds of Magento's root directory and database, you'll have to identify them and delete them manually.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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