To determine whether HCAR2 mediates the resolution of mastitis caused by S. aureus in the mammary gland via CMPK2, CMPK2 was reintroduced into the mammary gland using adenovirus vectors, and the effects on mastitis amelioration by the HCAR2 agonist were assessed. This evidence concerns the gene HCAR2 and mastitis.