How to reinstall magento?

Posted on: Oct 7, 2011 2:24:33 PM By: Viet Le Quang

Magento is an e-commerce platform used to support the back-end business processes for a company server. The software provides a wide variety of features and controls, as well as control over the functionality and look of the e-commerce platform. There are three different editions to the software: the Enterprise Edition, the Professional Edition and the Community Edition. The Enterprise Edition has the most features, the Professional Edition is the mid-range option and the Community Edition comes with the fewest features.

  1. Open the command line for the Magento database. All the information for the software is stored in this database.
  2. Enter the following command line:
    SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
  3. Enter the following command line, after the above command is run:
    SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
  4. Visit any one of the pages on your website that is supported by the Magento software. The database will be re-created. Once the database is re-created, the software installation will automatically be reinstalled.