i have a problem with the re-setup magento. i download back-up site on Cpanel. and export DB. i want setup to localhost. But it just redirects to the live site. How it works on localhost. I've edited the content in /app/etc/local.xml and romove var/cache Thanks all!
SELECT * FROM `core_config_data` WHERE `path` LIKE '%base_url%'
to find values and change column value to http://localhost/