WordPress.org

Ready to get started?Download WordPress

Forums

1and1... having problems (4 posts)

  1. designingdani
    Member
    Posted 4 years ago #

    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?

  2. obscure
    Member
    Posted 4 years ago #

    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 (http://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.

  3. Samuel B
    moderator
    Posted 4 years ago #

    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

  4. whooven
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic