• HELP :(… MAMP and wp-v2.3 error was working fine till I upgraded

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • So you uploaded the 2.3 files, did the upgrade, got a database upgraded successfully message, and now you see that error?

    Thread Starter hairball

    (@hairball)

    do i need to upgrade with new install of both on my machine ?

    Sorry, I’m confused.

    Are you doing a new installation or doing an upgrade?

    Thread Starter hairball

    (@hairball)

    new sorry

    Thread Starter hairball

    (@hairball)

    define('DB_NAME', 'wordpress');    // The name of the database
    define('DB_USER', 'admin');     // Your MySQL username
    define('DB_PASSWORD', '12345'); // ...and password
    define('DB_HOST', 'localhost:8889');    // 99% chance you won't need to change this value

    So can you use phpMyAdmin to access your database?

    Wonder if you need just ‘localhost’ for your DB_HOST?

    Thread Starter hairball

    (@hairball)

    Yes to your first question.
    Tried localhost still get the same results.

    For what it’s worth, I’m using MAMP and having the same problem. I downloaded Mamp specifically for use with WordPress locally, using WordPress 2.3. Whether I use the friendly wp-config.php file maker or I edit the file manually, I still end up in the same situation being unable to connect to my database. I can connect to the database with MySQL Admin and Cocoa Mysql, so I assume it’s something that’s wrong with wordpress or MAMP.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘MAMP and 2.3’ is closed to new replies.