Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11063

jldmorris on "Error establishing to 1and1's database"

$
0
0

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 all articles
Browse latest Browse all 11063

Trending Articles