Database connection utilities for GroupServer.