• Hi I have installed MAMP and MAMP Pro. when I create a wordpress site throught MAMP it works fine. but if I try to create through MAMP Pro it says ERROR database connection please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter RimazFlyil

    (@rimazflyil)

    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?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    have you checked all that?
    have you used phpMyAdmin to access the DB with those credentials?

    Thread Starter RimazFlyil

    (@rimazflyil)

    Yes I Did . I have created a Database and try to install the wordpress. it always says error establishing the connection.
    but when i try to connect with the MAMP it works..

    So, just to be clear – using MAMP Pro – you have used phpMyAdmin with the
    – database name,
    – user
    – password
    – hostname
    that you have in the wp-contents.php file.

    What version of MAMP are you using? What platform? (Mac/PC)

    BTW – the database you create using MAMP is NOT the same database that MAMP-PRO will use…they are located in two different places.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Database Connection’ is closed to new replies.