Ok here goes:
I'm having trouble getting a copy of a live site onto a local MAMP install-specifically I am not being able to connect to localhost. This is what I've done:
1. MAMP installed (v2.1.2)
2. Root folder of live site FTPd from server to desktop, in a folder called 'sites'. Call this site A. This site is currently running on WP 3.5.1, so it is the newest version.
3. New DB created w/same name as live site DB through MAMP PHPMyAdmin
4. Exported DB through live site PHPMyAdmin and imported into MAMP DB.
5. Changed wp-config file to reflect correct DB name, host (localhost), user (root) and pswd (root).
Settings in MAMP are defaults. doc root is set to /users/username/desktop/sites where username is my username for this machine. However, this problem I am describing is replicated exactly if I move the site to /MAMP/htdocs (which is the default option). Now the site is in htdocs and doc root in MAMP has been updated to reflect this.
When I navigate to localhost:8888, I see a link to my site root folder. When I click it, I get an error message "Oops! Google Chrome could not connect to localhost". Same issue with Safari, it says it cannot connect to the server "localhost", nor can Firefox.
Both servers are running in MAMP. So I created a new test site with a fresh WP install. Lets call this site B, created a new DB through PHPMyAdmin in MAMP, updated changes to a new wp-config file. Moved this site folder to htdocs as well.
Now when I go to localhost:8888, I see both folders listed- Site A and Site B. Site A still does not load, but Site B prompts me to set up the Admin and then logs me in and takes me to the dashboard. So localhost is working and can be connected to.
I've spent many hours trying to figure this out with no avail.
I've tried creating a new user under Privileges in PHPMyAdmin to reflect the same username and pswd as the live site, so I would only change the DB host in wp-config. Didn't work.
I completely deleted MAMP and reinstalled and repeated all these steps from scratch. Didn't work. Any help solving this will be appreciated.