I was wondering if

Hi guys.
I was wondering if anyone knows of a plugin or a way that I can rebuild a database?

There was a duplicate Wordpress install (on host control panel ) that kept screwing up the site with autoupdates, while the main site was in a subfolder.

I deleted the Wordpress install BUT the site on the subfolder must have been using the same database!! Doh!
I got the cannot establish database connection error but manage to copy over an old backup from a local install.

Site works but some pages and latest content are not working. I guess will have to manually edit the database tables to reflect the latest posts? Is there a plugin that can help see what differences there are?

Thanks so very much in advance