Support » Installing WordPress » 1 and 1 hosting database error

  • I am having a devil of a time executing my wordpress installation from the 1 and 1 hosting solution.

    There have been two topics on this subject previously, but unfortunately the solutions posted in them do not seem to aid my endeavor ( and (

    My error is similar. After having created the SQL database through the 1&1 control panel and uploading the appropriate files, my attenpted execution of the install routine leaves me with this 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 This could mean your host’s database server is down.

    I assume the problem lies within either my pathing, configuration file, or just plain old stupidity on my part. :)8

    Here are the facts as I am aware of them:

    1. My web domain is active. I have three domains active under my user account and I use subdirectories (rather than a root directory) for each one.

    2. The domain,, is under a subdirectory /bowtieworld. The wordpress installation is in a folder, /wordpress, installed below this directory. My execution in the browser is:

    3. The SQL database is set up and has a password, user name, database name, and a non-local host, each of which I have entered into my configuration file.

    The configuration file is as follows:

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘db169001998’); // The name of the database
    define(‘DB_USER’, ‘db169001998’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘(password for my database)’); // …and password
    define(‘DB_HOST’, ‘’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    I tired removing the variable tag names such as ‘DB_NAME’,etc, which was suggested in another solution post, albeit that seemed like it would not work. It did not. I have also tinkered with the DB_HOST, using both localhost and teh above-mentioned hosting choice.

    Any help would truly be appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1 and 1?? Sorry to hear of your misfortune. I too got ripped off – the only advice I can offer is get out… if you can…

    This isn’t much of an answer and may even be a red herring, but I don’t “see” a machine. Is that name absolutely correct?

    Should that be I wonder?

    Yeah, that was more of a visceral reaction to the name 1and1…

    My guess, FatherAzerun, is that it’s a matter of getting the path correct. On my host I have a pathing scheme like this:


    Goodness knows what 1and1 uses for a pathing scheme.

    db169001998 is your database name.
    dbo169001998 user name.

    Relax. 1&1 is awesome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘1 and 1 hosting database error’ is closed to new replies.