Title: Database Error
Last modified: April 13, 2022

---

# Database Error

 *  Resolved [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/)
 * I have had database errors for 4 days when I make a change in WordPress. How 
   do I resolve?
 * > [View post on imgur.com](https://imgur.com/a/Qz9lbXo)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-364%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [yogeshyadav20](https://wordpress.org/support/users/yogeshyadav20/)
 * (@yogeshyadav20)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15554456)
 * Hi There,
 * Follow this [article](https://www.namecheap.com/support/knowledgebase/article.aspx/9663/2187/how-to-fix-error-establishing-a-database-connection-in-wordpress/?gclid=CjwKCAjw6dmSBhBkEiwA_W-EoE4n_tVV0aRJo3ZDbnH9KCw9EroVikN_x_ZKT5PZOMEjzrvUabuj6BoCljkQAvD_BwE),
   this may help you
    -  This reply was modified 4 years, 2 months ago by [yogeshyadav20](https://wordpress.org/support/users/yogeshyadav20/).
 *  [yogeshyadav20](https://wordpress.org/support/users/yogeshyadav20/)
 * (@yogeshyadav20)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15554462)
 * 2nd way to fix your issue
    - Check whether your database login credentials are correct (most common reason
      of the issue).
    - Repair a corrupt database with WordPress’ built-in database repair mode: define(‘
      WP_ALLOW_REPAIR’, true);
    - Fix corrupt files
    - Check with your hosting provider for issues related to your database server
      
      Restore to your latest backup
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15554481)
 * You may want to give the instructions in this section a try.
 * Common WordPress Errors -> Error Establishing Database Connection
    [https://wordpress.org/support/article/common-wordpress-errors/#error-establishing-database-connection](https://wordpress.org/support/article/common-wordpress-errors/#error-establishing-database-connection)
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15555023)
 * Isn’t there something easy? Doing something wrong can compromise the site.
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15557311)
 * [@ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * That’s already as easy as it gets.
 * What’s web host are you on?
 * Perhaps you can file a support ticket for help.
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15557568)
 * I’m on Hostwinds VPS unmanaged. I can’t get technical support. I have asked many
   times to do something, because it would be their problem, since the site is not
   available for a short time. At the moment I am struggling to renew, but as soon
   as I have a stable economy, I will change hosting.
 * I need a 4GB RAM VPS at least and in the future dedicated servers with unlimited
   bandwidth.
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15558394)
 * 1.)
    You might also want to take a look at this page.
 * How to Fix “Error Establishing Database Connection” on WordPress
    [https://jetpack.com/blog/error-establishing-database-connection-on-wordpress/](https://jetpack.com/blog/error-establishing-database-connection-on-wordpress/)
 * It suggests 7 methods. One of them might be able to solve your problem.
 * 2.)
    For your hosting needs, it seems VPS or dedicated servers are overkill if
   you don’t run apps other than WordPress or have high traffic.
 * There is a recommended hosting page here on WordPress.org . They have been vetted
   by the organization.
    [https://wordpress.org/hosting/](https://wordpress.org/hosting/)
 * All three hosts mentioned offers unmanaged and managed WordPress hosting.
 * And of course, if you just have a personal blog, you can run WordPress on the
   free plan over at WP.com
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/database-error-364/#post-15559670)
 * 1) I’m going to read.
    2) The VPS is not excessive for a website with emulated
   games. I tried shared hosting, but it needed extra x5-x6 ram. I will consider
   returning to Siteground. I will talk to them in the chat and ask for clarification.
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/database-error-364/#post-15566531)
 * How are you doing with the 7 methods listed above? Were you able to eventually
   solve your problem?
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/database-error-364/#post-15566856)
 * I should not have troubles.
    -  This reply was modified 4 years, 1 month ago by [ildomandatore](https://wordpress.org/support/users/ildomandatore/).

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/database-error-364/#post-15566856)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
