• Hi Folks,
    same old Problem again. My Hoster meets all the requirements. My wp-config.php looks like:
    <?php
    define(‘DB_NAME’, ‘db78390’);
    define(‘DB_USER’, ‘db78390’);
    define(‘DB_PASSWORD’, ‘myPassword);
    define(‘DB_HOST’, ‘localhost’);

    $table_prefix = ‘wp_’;

    define (‘WPLANG’, ”);

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

    require_once(ABSPATH.’wp-settings.php’);
    ?>
    Any idea what else i could check?
    Thanks
    Kons

Viewing 15 replies - 1 through 15 (of 19 total)
  • Who is your host ?

    I would check if “localhost” is correct. Just a half-educated guess, I’m afraid, but it just might work.

    Thread Starter kons

    (@kons)

    the hoster is domaingo in Germany
    localhost or mysql.domaingo.de? tried both versions but didn’t work.
    even tried user and name in different versions.

    What precisely is the error message you get (there are two).

    sometimes when you make a database.. it adds a prefix to the start of the db name. So if you made a db called

    db73890

    it might be prefixed with

    sitename_db73890

    double check this in your cpanel

    Thread Starter kons

    (@kons)

    it this:
    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 localhost. 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?

    i’d go with what corefx suggests above.

    Thread Starter kons

    (@kons)

    I just checked the Datebase server. But it seems that its running pretty well.

    Thread Starter kons

    (@kons)

    cpanel? is this within the sqladmin?

    control panel, I’m not sure if your host has one or not but it’s worth a shot to try it like this. Take your website name and add it as a prefix to the database… my site is corefx.net so i would put

    corefx_db73890

    that’s the only thing that I could think of

    Thread Starter kons

    (@kons)

    Just tried but it didn’t work. Thanks anyway.

    Sounds like it’s time to contact your host.

    define('DB_PASSWORD', 'myPassword);

    There’s a ‘ missing behind the password.

    Thread Starter kons

    (@kons)

    Ne ist drinne, ist beim rauskopieren verloren gegangen. Danke

    Pardon ?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.