title: Error establishing a database connection - WP host changed password
body: <p>I changed my SQL password through my webbhost. After that I found out that I couldn't enter my website anymore. I'm 99% sure it has to do with the login credentials. So I was searching around on the internet and found the <code>define('WP_ALLOW_REPAIR', true);</code>-code but that didn't helped me. I also tried to replace the following in my <code>wp-config-sample.php</code>:</p>
  
  <pre><code>define('DB_NAME', 'database-name');
  define('DB_USER', 'database-username');
  define('DB_PASSWORD', 'database-password');`
  </code></pre>
  
  <p>Another strange thing I found out is there is 2 folders. One <code>wp-config.php</code> and another one where all the credentialinfo is called <code>wp-config-sample.php</code>. Maybe it doesn't matter. Is there anyone who had a similar problem and fixed it or someone who could help me?</p>