title: Handling DB failed to connect in laravel?
body: <p>I was wondering if there was a way where I can display a custom view when laravel fails to connect to the database? I have tried googling an answer for this but it really doesn't display anything useful.</p>
  
  <p>I currently get:</p>
  
  <pre><code>Whoops, looks like something went wrong.
  
  2/2
  QueryException in Connection.php line 770:
  SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select * from `users` where `users`.`id` = 1 limit 1)
  </code></pre>
  
  <p>Thanks.</p>