• Hi everyone:
    trying to install and get this: Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.

    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    This is what I have on the config file, not sure if its right (some Xed out but I’ve double-checked and okay. Is this the way it should be?.

    define(‘DB_NAME’, ‘xxx_wordpress’);
    define(‘DB_USER’, ‘xxx_donna’);
    define(‘DB_PASSWORD’, ‘xxxx’);
    define(‘DB_HOST’, ‘westendwebs.com’);

    Sorry to be such a newbie! Thanks for any help!

    Donna

Viewing 6 replies - 1 through 6 (of 6 total)
  • shouldn’t host be localhost ?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    This is all correct. But, if that domain is what your host told you enter for DB_Host (no, it’s not always ‘localhost’), then you should enter it as a complete URL with http://.

    Thread Starter donnajones

    (@donnajones)

    they didn’t say anything re localhost. i’m using a cpanel. just tried it with the whole url (that’s good to know) still same errors.

    I’ve got some quirky things going on with the host. I have two domains, a net and a com and I have a feeling that they are “co-mingled” – trying to get that straightened out now and then maybe I’ll start afresh.

    Thanks!
    Donna

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Yup, I have cpanel to. Mine says localhost, so it may be the co-mingling of the domains.

    Thread Starter donnajones

    (@donnajones)

    Thank you for the detailed instructions!! I’m now up and running, I’d neglected to set permissions in the database – well, said I was a newbie.

    Thanks again.

    Donna

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘config file question’ is closed to new replies.