WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Run WP locally on a mac (4 posts)

  1. GottaQ
    Member
    Posted 2 years ago #

    Trying to run WordPress locally on my computer. I don't have a server as of yet. I have been following the instructions found here:
    http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    I'm using MAMP and phpMyAdmin. However, I'm having difficulties with the final WP installation step (step 4). It says:

    Lastly, we've got to run WordPress' famous 5-minute install. Visit your local site (localhost:port or localhost:port/wordpress), and enter the following information into the database setup form:
    database name: wordpress
    database host/server: localhost
    database user: root
    database password: root

    I can access my local site (8888) fine, and I see all my other personal folders there. But when I click the "wordpress" one i created I get an error page saying, "Error establishing a database connection". Better yet, what exactly is the database setup form?

    Any idea whats going on?

  2. Rohan
    Member
    Posted 2 years ago #

    hi,

    change the db password to blank (leave it blank) instead of root.

  3. GottaQ
    Member
    Posted 2 years ago #

    Where do I access the db password? This is where I'm lost.

    Heres what I'm doing:

    1. Downloaded and unzipped the wordpress folder and started MAMP
    2. Dragged the wordpress folder to my MAMP root folder
    3. Opened a Safari browser
    4. Typed: [ localhost:8888 ] in my browser (I see all the folders from my MAMP root folder listed in the browser, all my old files are accessible except the wordpress one)
    5. *What do I do to find the database setup form? I assume this is where I can change passwords etc..

  4. GottaQ
    Member
    Posted 2 years ago #

    Resolved. Anyone having this problem in the future, refer to these threads:
    http://wordpress.org/support/topic/trying-to-install-on-a-mac-with-mampcant-figure-out-last-step?replies=5
    http://wordpress.org/support/topic/mamp-problem?replies=2

    Long story short - you're gonna have to edit the wp-config.php file (this is where you find the database setup form when using MAMP) even though they suggest not to. I guess it does no harm when your editing your website locally. Just remember that you did that when actually taking your site live.

    Once you edited the file go back to your browser and type localhost:8888 or whatever you set your MAMP settings to.

    Hope that helps

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.