Tried installing WordPress on my Mac with MAMP, can't get to the login. (3 posts)

  1. ezwis
    Posted 4 years ago #

    I have gone in and edited the wp-config.php document but when I try to login and complete the installation i get this 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.

    the Apache server is up and so is mysql.

  2. loughcorrib
    Posted 4 years ago #

    Check that wp is in /mampp/htdocs. Can you read db in phpmyadmin.
    Are you using default for db in config i.e. name =root, password none

    Common error is putting wp name pass in config.php

    also just in case xampp/mamp are throwing unusuals with some configs try when db is created.

  3. ehoanshelt
    Posted 4 years ago #

    In your wp-config file, are you using the default database username and password? The default is root for both username and password.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.