Running Wordpress locally

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

  1. puffnstuff macrumors 65816

    Joined:
    Jan 2, 2008
    #1
    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"
    :confused:
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    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

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #3
    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

    Joined:
    Jan 2, 2008

Share This Page