Install problem with MAMP (3 posts)

  1. easyjim
    Posted 1 year ago #

    I have installed MAMP on my Mac, placed the wordpress folder in the htdocs folder, created a new database in MAMP, changed the wp-config-sample.php file to wp-config.php, changed database name, username and password in the config file. When I type the database name after localhost:888, I get an error message (404 Not Found) The requested URL/mywebsitename/was not found on this server. What am I missing? Thanks for helping!

  2. easyjim
    Posted 1 year ago #

    Also when I try to go to localhost8888/wp-admin/install.php I get the following error message:
    "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?"

    Something I've noticed is that on this tutorial in the phpMyAdmin page, just to the right of the phpMyAdmin icon it says "localhost>(his database). On my phpMyAdmin page, it says "Server : localhost:8889"

  3. 2ninerniner2
    Posted 1 year ago #

    The following are the default values for a MAMP installation:

    Database name: whatever you named it

    Database user: root

    Database password: root

    Table prefix: wp_ <leave as-is for now>

    As you placed the wordpress folder in htdocs, this is the URL you use to access the site:


    ... and the admin login:


    Please be careful and note that there is a full colon between localhost and 8888. The 8889 is for the database; no need to use it anywhere at the moment.

Topic Closed

This topic has been closed to new replies.

About this Topic