Running Wordpress locally

Discussion in 'Web Design and Development' started by puffnstuff, Jul 1, 2010.

  1. puffnstuff macrumors 65816

    Jan 2, 2008
    When I first ran MAMP MySQL was not running. So, I went into ports, clicked set to default,quit and ran it again.

    Now both MySQL and Apache are green. I placed the wordpress folder in the htdocs folder.

    When I run in the browser I get "Error establishing a database connection"
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    You might want to first try connecting to the MySQL DB from Terminal to see if you're able to get connected that way to help determine where the issue is. I'm not at my Mac so can't see what the full path to the MySQL binary is, but it's within the MAMP folder somewhere.
  3. miles01110 macrumors Core


    Jul 24, 2006
    The Ivory Tower (I'm not coming down)
    Simply running MySQL is fairly meaningless. You obviously haven't created a database for Wordpress to work with. I suggest using Google to search for "run wordpress locally with MAMP" and follow any of the good tutorials that come up, like this one.
  4. puffnstuff thread starter macrumors 65816

    Jan 2, 2008

Share This Page