WordPress.org

Support

Support » Localhost Installs » Tried installing WordPress on my Mac with MAMP, can't get to the login.

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

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tried installing WordPress on my Mac with MAMP, can't get to the login.’ is closed to new replies.