End script with error if database connection broken.
Set a constant of the site's name based on the Database info.