WordPress.org

Ready to get started?Download WordPress

Forums

Mamp "error establishing database connection" (3 posts)

  1. george3356
    Member
    Posted 2 years ago #

    I'm working on my 3rd WP website and am experiencing a problem with Mamp. I have the WP files in htdocs, for some reason mysql had been giving me a problem but it appears to be working now. However, the Mamp start page is still not loading and is telling me that safari can't open the page because the address isn't valid. If I erase "Mamp" from the URL, it will take me to the page to create the WP-config file but won't let me actually create the file because there is an error establishing a database connection. I don't have a ton of experience with Mamp and WP yet, so I am stuck and getting a little frustrated. Any help is much appreciated.

  2. stepquick
    Member
    Posted 2 years ago #

    Does mamp show both mysql and the apache server are running without issue.

    Meaning, the green light for both?

  3. artifaktCom
    Member
    Posted 2 years ago #

    Do you have the database that you created in PHPMyAdmin entered correctly in your wp-config file? For setting up your MAMP locally, check out this great tutorial: http://d.pr/tl0y

Topic Closed

This topic has been closed to new replies.

About this Topic