Tried fixing bad database connection