I am wanted to import the live site in the local environment. i have installed the magento on the localhost now which steps i have to follow for the successful import of the live db in the local environment ?


Follow below steps to complete your setup:

  1. Create a blank database(lets say it local-database) in your local computer and import the database backup that you exported from the live one.
  2. Modify your database details in app/etc/local.xml
  3. In your imported database update web/unsecure/base_url & web/secure/base_url url to point your localhost server. For e.g. http://locahost/livemagento/
  4. Remove var/cache, var/session & var/log directory.

That's it. You are done.

  • I have performed the above steps but now it is giving "securec connection fialed " error – Mehar Feb 2 '16 at 12:25
  • What you mentioned in web/unsecure/base_url & web/secure/base_url database value? – Jayesh Patel Feb 2 '16 at 12:27
  • this is the url i have added localhost:4587 – Mehar Feb 2 '16 at 12:28
  • but i thing in live site configuration we are using the secure urls – Mehar Feb 2 '16 at 12:30
  • Please set http://localhost:4587/ in both base_url value and try to access same URL in browser. – Jayesh Patel Feb 2 '16 at 12:33

Your Answer

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

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