title: Opencart Website Down Page
body: <p>Just wondering if there is an easy way in opencart to display a page saying the website is down if the MySql database is unavailable rather than displaying all the errors?</p>
  
  <p>Currently my host is having problems with there MySQL servers and when I go to my site I get a bunch of errors:</p>
  
  <p>Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in xxxxxxxxx/public_html/system/database/mysql.php on line 6</p>
  
  <p>Notice: Error: Could not make a database link using xxxxxxxxxx@localhost in /home/flamingl/public_html/system/database/mysql.php on line 7</p>