Title: Login to localhost
Last modified: August 22, 2016

---

# Login to localhost

 *  [elmckendrick](https://wordpress.org/support/users/elmckendrick/)
 * (@elmckendrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/)
 * Hi Guys.
 * I am a complete newbie to all of this so please forgive my ignorance in advance!
 * I installed mamp on my mac following a tutorial on youtube. Once complete I installed
   wordpress.
 * To tell you the truth I didn’t really know what I was doing, I just followed 
   the tutorial in the hope that I’d figure it out as I went along.
 * Once I had installed and completed the set up I set up my first ever wordpress
   site.
 * I then decided I didn’t know what I was doing and started all over again. However,
   I started all over again completely. Reinstalled mamp and set up another site.
 * I ended up with a total of 3 sites.
 * Now I have no idea how to log into any of them and when I go to localhost:8888/
   i can see them but not log in. When I go to phpMyAdmin it tells me that the server
   is on port 8889. I think this was done when i set up the mamp the second time
   it forced me onto another port.
 * So, what do I do?
 * How do I log back onto my sites?
 * I haven’t got a clue please help me.
 * Kind regards,
 * Elliot.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713230)
 * Uninstall all 3 sites, uninstall the mysql and apache servers, delete the files.
   
   Now reinstall, just once, and keep notes of the choices and settings you made.
 *  Thread Starter [elmckendrick](https://wordpress.org/support/users/elmckendrick/)
 * (@elmckendrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713237)
 * yeah I was hoping you wouldn’t say that…
 *  [LyleChamney](https://wordpress.org/support/users/lylechamney/)
 * (@lylechamney)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713296)
 * What you see in phpMyAdmin for the port number, 8889, is the MAMP default port
   number for the MySQL server. You do not require this for any ‘normal’ operation
   of MAMP 🙂
 * If your second and current install of MAMP is a default one, that is, you have
   not made any changes to the MAMP Preferences (port numbers and document root),
   then you should still be fine.
 * When installing any ‘script’ (WordPress, Joomla!, eFront, etc.) into a local 
   server (MAMP), it is best practices to give them their own folder within the 
   document root, which in the case of a default MAMP install, is:
 * Applications/MAMP/htdocs
 * So even if you did put your first WP install directly in there, don’t worry about
   it; just make sure that any subsequent ones have their files in a separate folder,
   e.g.:
 * Applications/MAMP/htdocs/wordpress2
 * If you get the MAMP Start Page when you enter:
 * `http://localhost:8888` then you do not have the WP files in the document root
   and I would guess that they would be in:
 * Applications/MAMP/htdocs/wordpress
 * If you DO get the WP install screen (or the site if you went through the install),
   then fine, just use that for now. The log in screen is then:
 * `http://localhost:8888/wp-admin` or `http://localhost:8888/wp-login.php`
 *  Thread Starter [elmckendrick](https://wordpress.org/support/users/elmckendrick/)
 * (@elmckendrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713308)
 * Thank you LyleChamney
 * The good news is they’re all in different folders.
 * When I go to localhost:8888 i can see all the folders. I can visit all 3 sites.
   I just can’t log into each one. How would I go about that?
 * Regards,
 * Elliot.
 *  Thread Starter [elmckendrick](https://wordpress.org/support/users/elmckendrick/)
 * (@elmckendrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713310)
 * Oh never mind. I figured it out! Cheers guys.
 * Apologies for my ignorance once again.
 * Kind regards,
 * Elliot.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Login to localhost’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 5 replies
 * 3 participants
 * Last reply from: [elmckendrick](https://wordpress.org/support/users/elmckendrick/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/login-to-localhost-1/#post-5713310)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
