title: Getting "Error establishing a database connection" After Changing WordPress Theme's Files
body: <p>I just changed my WordPress theme's file settings (using WinSCP) and started getting this error. I checked both the site's main address and the wp-admin side. Both are giving me the same basic error. I'm using Google Cloud Compute to host a virtual machine running Apache/Debian with WordPress installed. </p>
  
  <p>Where do I check to make sure these values are correct? I know the DB Password is correct because I can see that in my Google Cloud Console. </p>
  
  <p>But why is it even giving me this error in the first place? Is there some other changes you need to make when you change a theme's information? For reference, I'm using the files from the Zerif Lite theme under a new folder (I'm trying to create my own theme). I'm not 100% sure that I even have a database. </p>
  
  <hr>
  
  <p><strong>wp-config.php:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/KdqxC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KdqxC.png" alt="enter image description here"></a>
  <strong>Error 1:</strong>  </p>
  
  <p><a href="https://i.stack.imgur.com/gKkr3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gKkr3.png" alt="enter image description here"></a></p>
  
  <p><strong>Error 2 (wp-admin site):</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/6prSl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6prSl.png" alt="enter image description here"></a> </p>
  
  <p><strong>Virtual Machine's settings:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/w5mRV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w5mRV.png" alt="enter image description here"></a></p>