title: "Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1049] Unknown database"
body: <p>I am getting an error when I try to go to my website (Hosted with XAMPP):</p>
  <blockquote>
  <pre><code>database 'chat' in C:\xampp\htdocs\Chat\index.php:23 Stack trace: #0
  C:\xampp\htdocs\Chat\index.php(23):
  PDO-&gt;__construct('mysql:host=127....', 'root', '') #1 {main} thrown in
  C:\xampp\htdocs\Chat\index.php on line 23
  </code></pre>
  </blockquote>
  <p>How can I fix this? Thanks in advance!</p>