Trouble connecting to database (3 posts)

  1. remythepitbull
    Posted 3 years ago #

    I am receiving the message

    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.

    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?


    Here is whats in my setup file

    define('DB_NAME', 'wpdb');

    /** MySQL database username */
    define('DB_USER', 'wpadmin');

    /** MySQL database password */
    define('DB_PASSWORD', 'Password');

    /** MySQL hostname */
    define('DB_HOST', '');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');


    I am running IIS 6 server 2003, mysql 5.
    I have tried changing DB host to localhost and the server name VISIONSERVER. no luck

    I have changed tried creating different databases and users to help with no luck. I have created the DB using my SA account, and created the users giving them full access to the DB. I can log on to mysql using the wpadmin account and access the DB with no issue.

    does anyone have any ideas? I am flat out. All the google searches people seem to switch around the dbhost, but this does not work for me.


  2. remythepitbull
    Posted 3 years ago #

    have not been able to sort this out, any suggestions/ideas?

  3. Hammer02
    Posted 3 years ago #

    I had a similar problem with windows server 2003. I had to uninstall Tcp/Ip 6 before it would connect. It was not enough to just de-select it. I had to uninstall it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.