Forums

config file question (7 posts)

  1. donnajones
    Member
    Posted 8 years ago #

    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

  2. chuckblue
    Member
    Posted 8 years ago #

    shouldn't host be localhost ?

  3. James
    Happiness Engineer
    Posted 8 years ago #

    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://.

  4. donnajones
    Member
    Posted 8 years ago #

    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

  5. James
    Happiness Engineer
    Posted 8 years ago #

  6. chuckblue
    Member
    Posted 8 years ago #

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

  7. donnajones
    Member
    Posted 8 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.