My htdocs folder was only filled with personal projects.
I have no idea WHY this works, but it did for me:
In the httpd.conf folder (do a command + space and search for that if you don't know what it is already), change your root folder to:
DocumentRoot "/Applications/MAMP/bin”
Comment out your OLD document root with a '#', such that it will look like:
#DocumentRoot "/Applications/MAMP/htdocs”
Then, repeat those changes for the Directory path:
<Directory "/Applications/MAMP/bin”>
#DocumentRoot "/Applications/MAMP/htdocs”
Stop/Restart MAMP. For good measure, try loading local server in your browser, it shouldn't work.
Then, undo everything above and change your document and directory roots back to their originals.
Stop/Restart MAMP. Try navigating to localhost/phpmyadmin or localhost:8888/phpmyadmin again.
Not sure exactly why, but it seems to trigger MAMP to behave itself. Hope that helps