Added more specific errors to narrow down database setup failures