MAMP (4 posts)

  1. LReed
    Posted 7 years ago #

    I can install online via Hostmonster, but cannot work locally using MAMP (I'm on a MAc).
    This is the error I get ...
    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

  2. eclipsenow
    Posted 7 years ago #

    I'm also having trouble with getting MAMP running. Is this the most recent instructions for installing WordPress on MAMP?


    Thanks in advance.

  3. talhaahmed
    Posted 6 years ago #

    Thanks a lot!

  4. shalzers
    Posted 6 years ago #

    You need to change the wp-config file like so:
    - Find these lines:
    –> ‘DB_NAME’ and change ‘putyourdbnamehere’ with ‘the database name from step 2’
    –> ‘DB_USER’ and change ‘usernamehere’ with ‘root’
    –> ‘DB_PASSWORD’ and change ‘yourpasswordhere’ with ‘root’

Topic Closed

This topic has been closed to new replies.

About this Topic