Title: I lost posts while updating WordPress
Last modified: August 20, 2016

---

# I lost posts while updating WordPress

 *  Resolved [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/)
 * I updated WordPress 3 days ago. After updating I got blank pages, and could not
   even log in. Then I reinstalled WordPress from CP of my hosting company. The 
   result was I got a new blog with none of my previous posts. Two new databases
   were created one of which is in the wp-config.php file. My backed up database
   files are in the FTP panel, but not in the database list. My uploads (images)
   are also in the FTP panel. I placed the problems before customer support of my
   hosting company. I got no specific replies, but only some stock replies. Will
   anyone help me by advising me what to do?

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

 *  [hockeyhero4](https://wordpress.org/support/users/hockeyhero4/)
 * (@hockeyhero4)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718472)
 * Your description is a bit confusing but let me try my simple approach before 
   getting into this deeper.
 * Open your wp-config.php file in the root directory of your FTP.
 * Then I would see what database is being called – if it’s the new one, switch 
   it to the old one.
 * Basically what I’m saying is to look at this section:
 * // ** MySQL settings – You can get this info from your web host ** //
 * /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘YOUR DB NAME
   HERE’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘YOUR USER HERE’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘YOUR PASSWORD HERE’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘YOUR HOST HERE’);
 * and ensure everything is the way it should be to coincide with your old settings.
 *  Thread Starter [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718475)
 * I have tried it when I got the message telling “Error establishing a database
   connection”.
    Now, excepting the newly loaded WP, there is nothing in the old
   WP files. My mySql back up files and uploads are saved and already in the directory.
   But the database page shows only the newly created DBs. And that is what you 
   can see in my site now.
 * So, I think I have to link the old DB backups to the new installation. Don’t 
   know how, excepting vague ideas.
 *  Thread Starter [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718477)
 * And the stored error logs are not EDITABLE (can’t even read/ cant open).
 *  [hockeyhero4](https://wordpress.org/support/users/hockeyhero4/)
 * (@hockeyhero4)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718480)
 * Ack – I’m sorry but I’m not sure what I’d do in this situation. Hopefully someone
   else can come in and share an idea because I’ve never experienced this before.
 * Future note – definitely get a backup plugin like BackupBuddy or something just
   in case this happens again. I’d also suggest setting up a DEV Site (test site)
   to do all updates on before going hot on your live site.
 * Best of luck.
 *  Thread Starter [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718704)
 * [@hockeyhero4](https://wordpress.org/support/users/hockeyhero4/), Thanks a lot
   for the advice. The problem is persisting, more or less, from what I understand
   from other similar posts in this forum, I think, I may have to change hosting.
   I had similar problems with some other blogs hosted elsewhere before. But I could
   solve them with the help of the customer support.
 * Thanks again.
 *  Thread Starter [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [14 years ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718842)
 * Sorry, I did not report here that the issue was resolved. The problem was in 
   the corrupt database files which I repaired. I set it alright and the site is
   back to normal.
 *  [mpromp2](https://wordpress.org/support/users/mpromp2/)
 * (@mpromp2)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718853)
 * I am having the same problem….. I completed the WordPress update. Now I have 
   lost 2 days of post and I can’t log into wordpress not. PLEASE HELP
 *  Thread Starter [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718854)
 * [@mpromp2](https://wordpress.org/support/users/mpromp2/),
    Wait. I am busy elsewhere.
   I will look into it after a few minutes.
 *  [janiceandcompany](https://wordpress.org/support/users/janiceandcompany/)
 * (@janiceandcompany)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718864)
 * This is so damn annoying, it has happened to me on 3 sites.
 *  [info@exploreafrica.net](https://wordpress.org/support/users/infoexploreafricanet/)
 * (@infoexploreafricanet)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718882)
 * I have lost all 2011 and 2012 posts after upgrades. Went to Twenty Eleven theme,
   changed permalinks to default, tried use google library plugin, so not sure why
   my most recent posts are missing.
 * Example of my most recent post that is gone: [http://www.exploreafrica.net/blog/2012/06/](http://www.exploreafrica.net/blog/2012/06/)
 * Get internal server error!
 * Please help.
    Cathryn
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718883)
 * [@janiceandcompany](https://wordpress.org/support/users/janiceandcompany/), [@info](https://wordpress.org/support/users/info/)
   @exploreafrica.net, [@mpromp2](https://wordpress.org/support/users/mpromp2/)
   
   Please create your own [topic](http://wordpress.org/support/forum/how-to-and-troubleshooting#postform)
   as this one is resolved.

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

The topic ‘I lost posts while updating WordPress’ is closed to new replies.

## Tags

 * [missing posts](https://wordpress.org/support/topic-tag/missing-posts/)
 * [updating wordpress](https://wordpress.org/support/topic-tag/updating-wordpress/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 6 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/i-lost-posts-while-updating-wordpress/#post-2718883)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
