Hi new to Wordpress development and i'm on a mac.
I'm just downloaded MAMP and is using the MAMP Pro trial to run the servers, I've not changed anything, just installed the software and running the servers. I went to http://localhost:8888/phpMyAdmin/ and created a database wpdemo
Then i've downloaded Wordpress and dropped it in the MAMP/htdocs folder, I can access the Wordpress installation using http://localhost:8888/wpdemo/ (I can't access the localhost:8888 though, it says 403 Forbidden You don't have permission to access / on this server.) I went through all the steps in the WP installation guide, and after trying to create a database of name wpdemo, i get this message:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.