I have recently been asked to work on the upkeep of my company's website and I am having trouble installing the website locally on my Mac.I have downloaded and installed MAMP. I have created a database in myphpdmin called 'wordpress_db'.
I have been given the downloaded wordpress website 'wordpress123' as a zip file and I have inserted this the htdocs folder in MAMP.
In my wp-config.php file I have:
In MAMP I have the following settings:
Apache Port: 8888
Document Root: Macintosh:Applications:MAMP:htdocs:wordpress123
When I go to 'Localhost:8888' in my browser i receive the following error:
"Error establishing a database connection"
I have looked up tutorials online but I cannot seem to get this to work. Please can you advise on any known issues in relation to why this is occurring?