2

I have Magento Community Edition installed on a shared hosting account. Is there a built-in uninstaller for Magento?
There's dozens of files / directories scattered throughout the root directory and I'd like to only get rid of the ones that are associated with Magento.

migrated from stackoverflow.com Oct 15 '13 at 16:45

This question came from our site for professional and enthusiast programmers.

5

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.

4

If, for some reason you installed Magento in a root folder mixed with other files, then here is a quick list of the top-level magento files and folders:

  • app/
  • downloader/
  • errors/
  • includes/
  • js/
  • lib/
  • media/
  • min/
  • pkginfo/
  • shell/
  • skin/
  • var/
  • api.php
  • index.php
  • get.php
  • cron.php
  • install.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy