Don’t tell me, you’ve just installed Wordpress on your local MAMP setup and it’s all gone wrong – you can no longer get to phpmyadmin and the MAMP setup page generally.
Check the root of your Mac hard disk – there should be a .htaccess file lurking there, with contents that include…
Options All -Indexes

# BEGIN WordPress
<IfModule [...]