WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ezwis
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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 127.0.0.1 when db is created.

  3. Eric Hoanshelt
    Member
    Posted 1 year 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

Tags

No tags yet.