• I am having issues connecting to MySQL over the 1and1 server.

    The wordpress installation worked, but when I try to add plugins I get the following error 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 db1111111.db.1and1.com. 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.”

    I’ve contacted them and they said their database host is “db1111111.db.1and1.com” but I am still receiving error messages.

    The following is my wp-config.php (with x’s for username and password for privacy reasons):

    ‘// ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘admin_’);

    /** MySQL database username */
    define(‘DB_USER’, ‘xxxx’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxx’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘db1111111.db.1and1.com’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);’

    Please advise,

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • 1&1 must have 1 click installation install there WordPress and then check the wp-config.php and compare with your manual install.

    Thread Starter jldmorris

    (@jldmorris)

    I did it manually through ftp. Checked my wp-config.php credentials for hours.

    WordPress installed fine. It shows me this aforementioned database error when trying to install plugins.

    Try to call them again and let them walk you through how you can check the database information. However is your site still working? Mostly when getting this error the website and the admin login would give this error when pulling up.

    Thread Starter jldmorris

    (@jldmorris)

    Sadly this is as far as I got with them. I got wordpress installed but every time I try to modify the database (ie. Add theme and add plugins) I receive this error.

    I’ve worked with multiple wp installs and never encountered this error. This coupled with other issues I feel that the only resolution is to switch hosts.

    I should also note this issue was brought up on these forums with the same hosting provider (1&1) with no resolution.

    some hosts have very high restrictions to the scripts therefore you can’t runs some scripts/plugins with modification. Some have very less php memory limit, wordpress needs at least 64mb but higher is better.
    I would test the same plugins and themes with other hoster, ask before for a test account

    Thread Starter jldmorris

    (@jldmorris)

    The “add plugin page” won’t load.

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

The topic ‘Error establishing to 1and1's database’ is closed to new replies.