An examination by the health care provider or dentist shows enlarged salivary glands. Pus may drain into the mouth. The gland may be painful, particularly with bacterial infections. Viral infections such as mumps may cause painless swelling of the glands.