WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] cannot get wordpress installed...please help (5 posts)

  1. moxy305
    Member
    Posted 8 years ago #

    i know this has probably already been run into the ground...but i cannot get wordpress to install without getting this error:

    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?
    If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    i have gone through all of the necessary motions in the 5-minute install. here is a copy of my wp.config.php with my settings.

    define('DB_NAME', 'hassanna_wp86'); // The name of the database
    define('DB_USER', 'hassanna_wp86'); // Your MySQL username
    define('DB_PASSWORD', '********'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    can anyone point me in the right direction??

  2. FruitFly
    Member
    Posted 8 years ago #

    Make sure that using localhost for DB_HOST works with your host. There is that 1% chance you'll need to specify a hostname - I use Dreamhost, and I have to change that value to dbname.domainname.com.

    Other than that, make sure the database has actually been created. Can you get to it via phpMyAdmin? If not, then you may just have to wait, or contact your host to find out what the problem is.

  3. moxy305
    Member
    Posted 8 years ago #

    the host is correct, i'm using vdesk. when i log into phpMyAdmin, my database is there...i'll contact my host and see what's up

  4. moxy305
    Member
    Posted 8 years ago #

    i can't get in touch with my host....monday must be a pretty busy day for them. can anyone else see where i might have a problem???

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic