WordPress.org

Support

Support » Installation » Good ol’ step 5

Good ol’ step 5

  • I’m new to WP and having some problems. I’ve installed, uploaded everything etc., but am still getting the dreaded:
    “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.
    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.”
    Error message. If you have any suggestions on how to fix it. I’m opperating off of a server at school, I would be eternally grateful. Thanks.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Oddly, the suggestions that you just listed are the right route to go. Verify you have all of the things correct.

    The errormessage is pretty clear on what to do, so did you check all that?

    Yepo schepo. Stupid question. Are the user name and password the same ones that I use to log onto here?

    No. The username and password that you put into the wp-config.php file are the appropriate ones for your database. The username and password to login to your WordPress installation are generally “admin” and a randomly generated one that is provided to you upon installation.

    where is this allegid password that was provided to me upon installation?

    Following installation it was displayed on the page as follows:

    Now you can log in with the login
    admin” and password<?php echo $random_password; ?>“.
    Note that password carefully! It is a random
    password that was generated just for you. If you lose it, you
    will have to delete the tables from the database yourself, and re-install WordPress.

    and emailed to the administrator email account if given correctly.

    But prior to that you need the username and password for your database which was either provided by your host or created by you when setting up the database for WP.

    Um…yeah…apparently this thing hates me, because that still doesn’t work.

    What still doesn’t work? That link is not your login link, it’s a representative example.

    K. I’m not really using a host I’m using Truman State University server. Where are you finding this password…i must be as dumb as a rock. Sorry.

    Start at the top. Where did you get your database parameters?

    database parameters? I’m a designer trying to do coding, i don’t know what parameters…all i know is how to log onto our server and upload pages and stuff is that the parameters that you are refering to?

    Maybe you don’t even have a database? In that case WP won’t work 🙂

    How do I find this out?

    There’s our issue. You need a MySQL database set up by whoever administers that university server. They need to set it up, then give you a name of the database, the server that it’s on, the username for the database and the password. You then fill that information into the wp-config.php file. Then you can start installing WordPress.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Good ol’ step 5’ is closed to new replies.
Skip to toolbar