• I am trying to recover my wordpress, but It doesnt seem to work. I restored the sql stuff, but I get this when I go to my site.

    rror 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.

    …my site is http://envyyy.com/nerd

Viewing 6 replies - 1 through 6 (of 6 total)
  • So the question lies, are you sure your config file contains the proper database info. Did you change the DB name, or the username, or PW when you restored the DB? If so, you need to make sure those are changed on the config file as well.

    Thread Starter envyyy

    (@envyyy)

    Well, my cpanel login is now ‘envyyy’, but I did change it from what it was before. This is what I have in the conf file.

    define(‘DB_NAME’, ‘envyyy_wrdp2’); // The name of the database
    define(‘DB_USER’, ‘envyyy_envyyy’); // Your MySQL username

    Here’s a pic of my sql, everything seems to match up.

    http://img513.imageshack.us/img513/6492/sql4ac.jpg

    Thread Starter envyyy

    (@envyyy)

    nothing yet???

    “nothing yet” – it gets busy here 🙂

    Check for whitespace in your wp-config.php
    Check the server absolutely definitely is actually working
    What else have you tried ?

    Thread Starter envyyy

    (@envyyy)

    Whats white spaces. Just blanks spaces like if someone were using the spacebar, right?

    If so, nah, there werent any of those :(, Im not sure what else it could be. I know the server is working 100%

    All we cannot see from what you have provided is the password. Everything else looks great .. have you triple-checked it ?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Restoring’ is closed to new replies.