How to Reinstall Magento Without Re-uploading the Files

Last modified by kara on Thu, June 24, 2010 15:18
Source|Old Revisions  

Sometimes it is necessary to reinstall the Magento engine. This should be done, for example, when you are trying to install the template and the sample data after the Magento engine installation. In order to reinstall the Magento engine and the database from scratch you should do the following:

  • Get access to your database using the PhpMyAdmin tool or some other one and drop all the tables. In case you can’t drop some tables, empty them.
  • Then, using your FTP client, open the magento root on your server and go to app/etc folder and delete the local.xml file
  • Finally, using your browser, go to the URL of your Magento store. Because local.xml is missing you’ll see the Setup Wizard page so you can start the setup/configuration process.