In the current study, we uncovered a novel mechanism by which MyD88 enables the development of vaccine-induced anti-fungal Th17 cells and resistance to infection. This evidence concerns the gene MYD88 and infection.