• hi!

    i downloaded the version 2.5.1
    after reading the install instructions i made this wp-config.php:

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘xxxxx’); // The name of the database
    define(‘DB_USER’, ‘wxxxxx’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxx’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    loaded this file up to webspace and then tried to run the installation link.
    i always get the error, that user or password is wrong, or the localhost is not connected.
    but the localhost is okay, and the userdata is okay, too!!

    where is the mistake?
    THX

    greetz
    schmuddel

Viewing 6 replies - 16 through 21 (of 21 total)
  • Life is short. I generally accept statements like 99.9% as an indication that there would be little point in considering a probability of .01%.
    However, may I suggest that the documentation might include a parenthetical adviso along the lines:
    “If you are certain that you have entered the username and password corrrectly, and are able to connect to the db by other means, check the db hostname.”
    But this is trivial and I’m not an argumentative person so in parting let me just say:
    I love WordPress.
    Thank you to everyone who has made it a reality.

    Why? The error message told you exactly:

    “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”

    If you think you can exclude user/pw as possible error – then the only logical thing is to check out whether “localhost” is OK or not.

    its not even 99.99%.
    Its 100%. That file is never wrong ??

    The instructions did not explicitly suggest checking the localhost parameter.
    And whooami’s statement (quoted) is incorrect.
    The documentation would be improved with the removal of 99.9%.
    But hey, you know better right?

    Ok, I’ll bite. God knows why, but I will.

    What do you think was wrong about the output of the file???

    “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”

    It told you the problem.

    It couldnt connect to localhost. Thats because your host/whatever doesnt allow connections to JUST ‘localhost’.

    You stated above, that you had to edit that line —

    There nothing wrong in that output. It was spot fucking on.

    I have a better suggestion for that file..

    I think it ought to read “Talk to your host to learn what the values need to be or stick to static HTML”.

    its not even 99.99%.
    Its 100%. That file is never wrong ??

    My suggestion for revised wording:

    “If you are certain that you have entered the username and password corrrectly, and are able to connect to the db by other means, check the db hostname.”

    Your suggestion:

    “Talk to your host to learn what the values need to be or stick to static HTML”.

    “…or stick to static HTML” ? (Luser?)

    For me the problem is different at this stage. WP does connect to the database server correctly. At least, I assume so, since I get no error messages at all now. But, on the other hand, I get a blank screen. What can I do with that?

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘problems with wp-config.php !!!’ is closed to new replies.