Title: Error in Database Connection
Last modified: August 18, 2016

---

# Error in Database Connection

 *  Resolved [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/)
 * Hello,
 * I have WordPress 2.2.1 through my hosting company. I just changed my WordPress
   database password and have been unable to connect to my blog and even sign into
   my Administrative WordPress account with my username and password ([http://wordpress.com/wp-login.php](http://wordpress.com/wp-login.php)).
   I was told the reason why I am seeing the error message “The site database appears
   to be down” in place of my blog is because the Database password has to be the
   same as the Administrative Password. I am unable to change the Administrative
   password, which was initially created during the installation process, through
   my hosting company.
 * I have updated the file wp-config.php, as WordPress suggested, with the Database’s
   new password, and uploaded it to my FTP server. What other WordPress files I 
   should update to change my current Administrative password to my current Database
   password – so that I can log into my WordPress account and access my blog?
 * Thank you so much for your help!

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-641991)
 * Just so it is clear, a database DOES NOT have a password. A database user has
   a password. A database user is granted permissions (or privileges) to do certain
   things to a database.
 * Also so it is clear, the WordPress login/password that is accessed via the wp-
   login.php script, is in NO WAY associated with the database user/password specified
   in the wp-config.php file.
 * Also, you mentioned the URL **[http://wordpress.com/wp-login.php](http://wordpress.com/wp-login.php)**.
   Now wordpress.COM is a whole separate thing from your own self-hosted blog.
 * Please provide a link to your blog so we can see the problem.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-641993)
 * You seem to be in a total mess and confusion, sorry.
 * If you have your own hosted blog… what are you doing at wordpress.COM?
 * Where is your blog?
    How did you change the database password and why? What is
   the the “Administrative PAssword”? (you are throwing around words and expressions
   nobody understands…) No, nobody ever said your DB pw has to be the same as anything…
 * Will you try it again in a clearer fashion?
 *  Thread Starter [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642011)
 * The only way to access my blog is to login through my website. The blog is [http://www.sistahspursuit.com/sistahssoundoff/](http://www.sistahspursuit.com/sistahssoundoff/).
 * When I login through my website, it states “The site database appears to be down”.
   I was told by GoDaddy that the password I have for MySQL Database that was created
   for my WordPress blog (visitors register through my website to access the blog)
   has to be the same as the Admin password I created during the installation of
   WordPress. This password is the same password I was able to use to login as an
   admininstrator for my WordPress blog (If you go to wordpress.com and click on
   the login button, you are directed to [http://wordpress.com/wp-login.php](http://wordpress.com/wp-login.php)).
 * Please let me know if there are any WordPress files I can update to change my
   Admin password. I already updated the file wp-config.php which defines MySQL 
   username and password, with my new database password.
 * As of now, I can not access my WordPress account with my old or new password,
   and visitors that sign in through my website can not access the blog either.
 * Thanks for your help.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642036)
 * See various methods in [Resetting your password](http://codex.wordpress.org/Resetting_your_password).
 *  Thread Starter [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642191)
 * Ok –
 * I tried some of the examples in the Resetting your Password link, but it has 
   not worked. Maybe because there are no options for Version 2.2.1 – I don’t know.
   Being that I am not too familiar with phpMyAdmin, with all the warnings of possibly
   losing your data, I do not want to use that option.
 * I changed my MySQL database password back to its original password, so that it
   may be the same as the Admin password that I created during the WordPress installation.
   I also updated the wp-config file with the original database password. With these
   changes, users are now able to access my WordPress blog.
 * However, when I try to login as the Administrator, WordPress does not remember
   my Username or Password, or Email address anymore. It states that they are invalid.
   And on top of the WordPress login page this is posted:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/s/i/s/sistahs/html/sistahssoundoff/wp-config.php:47) in /home/
   content/s/i/s/sistahs/html/sistahssoundoff/wp-login.php on line 12
 * I don’t know what this means. I don’t know what’s going on anymore. All I know
   is that I need some help. It doesn’t help that users are able to access my blog
   but I can’t do anything with it.
 * Please Help!
 *  Thread Starter [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642192)
 * Also – Just tried to login again with my WordPress Username and Password and 
   this message pops up (I didn’t even touch these files):
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/s/i/s/sistahs/html/sistahssoundoff/wp-config.php:47) in /home/
   content/s/i/s/sistahs/html/sistahssoundoff/wp-login.php on line 12
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/s/i/s/sistahs/html/sistahssoundoff/wp-config.php:47) in /home/
   content/s/i/s/sistahs/html/sistahssoundoff/wp-includes/pluggable.php on line 
   369
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/s/i/s/sistahs/html/sistahssoundoff/wp-config.php:47) in /home/
   content/s/i/s/sistahs/html/sistahssoundoff/wp-includes/pluggable.php on line 
   370
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/s/i/s/sistahs/html/sistahssoundoff/wp-config.php:47) in /home/
   content/s/i/s/sistahs/html/sistahssoundoff/wp-includes/pluggable.php on line 
   331
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642194)
 * You have an empty line or a space after the last closing **?>** in your wp-config
   file.
 *  Thread Starter [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642197)
 * Moshu – If you were here now, I would kiss you. Thank you. I have discovered 
   that I can not log into my account by using the link:
    [http://wordpress.com/wp-login.php](http://wordpress.com/wp-login.php)
   I can only login by using: [http://www.sistahspursuit.com/sistahssoundoff/wp-login.php](http://www.sistahspursuit.com/sistahssoundoff/wp-login.php)
   Is this because my blog is hosted by GoDaddy?
 * Also, would you happen to know how I can change my WordPress installation password?
   Even though I am able to change my MySQL database password, update the wp-config
   file, and update my password via [http://www.sistahspursuit.com/sistahssoundoff/wp-login.php](http://www.sistahspursuit.com/sistahssoundoff/wp-login.php)(
   each having the same password), when visitors try to access my blog, this message
   appears “The site database appears to be down”.
 * Thank you for your help!
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642198)
 * Your problem is that you talk/write so much that you don’t have time to read 
   carefully the instructions given to you.
 * – it has been told that wordpress.COM has nothing to do with your blog hosted
   elsewhere. Yet, you are like a broken record… asking the same idiotic question
   again and again;
    – you were given resoruces to reset your pw; you ignored them;–
   you have a totally screwed up site system with zillion logins, passwords and 
   God knows what: nobody will ever go through all that BS to figure out what you
   are talking about
 * Read, read and read.
    Then write short sentences, brief concrete questions. Don’t
   give useless links. If you don’t want to learn the basics – give up being a webmaster.
 * Now I am going to sleep.
 *  Thread Starter [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * (@lashawnie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642199)
 * Moshu,
 * I never said I was a webmaster. This is my first time using WordPress. And it’s
   unfortunate that I am just receiving your message that you sent me 2 days ago.
   Maybe, I would not have been rambling on, as you suggest. I utilized the link
   that MichaelH provided me (thank you) as I stated previously, but I guess those
   options did not work since I guess GoDaddy provided me with my self-hosted blog.
 * This forum is to help your users; no question is idiotic. GoDaddy has not been
   helpful and frankly is unknowledgeable, that’s why I used this support forum.
   I am just not as educated as you, but I have been trying to educate myself. I
   thank you for your assistance anyway.

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

The topic ‘Error in Database Connection’ is closed to new replies.

## Tags

 * [account](https://wordpress.org/support/topic-tag/account/)
 * [administration](https://wordpress.org/support/topic-tag/administration/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [password](https://wordpress.org/support/topic-tag/password/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [lashawnie](https://wordpress.org/support/users/lashawnie/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/error-in-database-connection-1/#post-642199)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
