Magento 1.9 Upgrade – Community Edition 1.9.1 to 1.9.2 Upgrade

ce-1.9.1.0ce-1.9.2.0databasemagento-1.9upgrade

At what point does the database upgrade happen? If I unzip the downloaded magento image over my current installation, will that also upgrades database changes if any?

Best Answer

The upgrade happens the first time your magento application boots. Usually this is the first http request that gets to a magento page. So basically you just need to look at a page to trigger the database update.

An alternative approach is to use the handy magerun cli tool to trigger the updates:

n98-magerun.phar sys:setup:run

I like this approach as it gives you full control over when the updates happen. You can put the site in maintenance mode so no traffic gets to magento and triggers the update when your not expecting, run the updates manually from your cli, test and then when your ready take the site out of maintenance.

Related Topic