Installing Existing Website Locally on a different pc
-
Hi There,
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:
define(‘DB_NAME’, ‘wordpress_db’);
define(‘DB_USER’, ‘root’);
define(‘DB_PASSWORD’, ‘root’);
define(‘DB_HOST’, ‘localhost’);In MAMP I have the following settings:
Apache Port: 8888
MySqlPort: 8889Document 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?
Thank you,
Ciaran
- The topic ‘Installing Existing Website Locally on a different pc’ is closed to new replies.