Title: Need Help with Database Error
Last modified: August 21, 2016

---

# Need Help with Database Error

 *  Resolved [LoganKay88](https://wordpress.org/support/users/logankay88/)
 * (@logankay88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/)
 * Hello,
 * I have a website that recently suffered an error with the database connection.
   I fixed the connection, but then the site seemed to be missing all of its styles
   and pages and appeared as a new install. I tried using my backups but they all
   acted the same.
 * I still have all of my other WordPress files saved locally. However, since the
   databases don’t seem to work is there any other way to get all of my settings
   back on a local server? Any help would be greatly appreciated, since I feel really
   out of my depth with this one. Please also let me know if any other info is needed.
   Just as I said, I am out of my depth with this issue and have a hard time explaining
   it exactly.

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

 *  [Tiago Hillebrandt](https://wordpress.org/support/users/tiagohillebrandt/)
 * (@tiagohillebrandt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151226)
 * Hello,
 * Do you have some cache implemented in your site? If yes, you may want to flush
   it and then try to access your site again.
 * Have you already checked if your folder/file permissions are right?
 * Regards
 *  Thread Starter [LoganKay88](https://wordpress.org/support/users/logankay88/)
 * (@logankay88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151261)
 * No, I do not have cache implemented on the site and I have never changed the 
   permissions from the default so those should be the same as always. Again, I 
   am out of my depth on this one and usually just handle the design of the WordPress
   site. If it helps, the website can be found [here](http://www.steer-right.com).
 * Thank you for any help in advance.
 *  [Tiago Hillebrandt](https://wordpress.org/support/users/tiagohillebrandt/)
 * (@tiagohillebrandt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151262)
 * Hey,
 * Once WordPress hello post is being displayed properly, your problem should not
   be your database connection.
 * I suggest you to enable WP_DEBUG in wp-config.php and then check for any errors
   being displayed in your site.
 * `define( 'WP_DEBUG', true );`
 * Regards
 *  Thread Starter [LoganKay88](https://wordpress.org/support/users/logankay88/)
 * (@logankay88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151264)
 * I seem to be getting a depracated function error from this regarding my custom
   background, but that is about it.
 *  [Tiago Hillebrandt](https://wordpress.org/support/users/tiagohillebrandt/)
 * (@tiagohillebrandt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151270)
 * Hello,
 * Okay. Since you said that permissions are right, database connection is working
   fine, and have no cache implemented in your stack, follows my suggestions:
 * – check if your site URL is correct in database: [http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
   –
   check on server-side if have any rewrite messing your WordPress install – reinstall
   WordPress from scratch – contact theme author
 * Regards
 *  Thread Starter [LoganKay88](https://wordpress.org/support/users/logankay88/)
 * (@logankay88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151273)
 * Alright, thank you for your help. The url was correct so I do not see other alternative
   but putting the webpage together manually. Thank you for all your help, it is
   very appreciated.

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

The topic ‘Need Help with Database Error’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 6 replies
 * 2 participants
 * Last reply from: [LoganKay88](https://wordpress.org/support/users/logankay88/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-database-error/#post-4151273)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
