• i am installing wordpress to a site hosted by 1and1. i feel like i’ve done everything right but i am still getting the “error establishing database connection” message when i go to my wp-admin link. i read somewhere that there may be an extra step for 1and1? anyone have any advice?

Viewing 3 replies - 1 through 3 (of 3 total)
  • i feel like i’ve done everything right but i am still getting the “error establishing database connection”

    Continuing to feel you have done everything right when reality is proving otherwise is likely to hamper your ability to solve the problem. You need to go back and double/triple check because something is obviously wrong.

    A common mistake is leaving the DB set as localhost, when many IPSs use a separate database server (1and1 certainly do). The best way to check your connection details are in fact correct is to use phpMyAdmin (https://www.phpmyadmin.net/home_page/index.php) to connect to your database. If using the same details as you have in your WP config file doesn’t work then you know they are not entered correctly. If it does work then there is some other problem – probably need to contact your host to resolve it.

    for 1 andd 1 you need to add this to the top of your .htaccess file with a plain text editor

    AddType x-mapp-php5 .php

    One addition to help fix this issue: The db name and the username look like they’re the same but they’re not. The db username usually begins with “dbo” while the db name begins with just “db”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘1and1… having problems’ is closed to new replies.