Artificial intelligent assistant

Can you vaccinate against bacterial diseases? Are there existing vaccines for such diseases? I have the (maybe wrong?) preconception that we only vaccinate against viral diseases, and that there can only exist vaccines against viruses. I think the idea comes from the idea that only for viral diseases are you becoming immune after contracting the disease, not for bacterial. The question Is there a vaccine against the plague (Yersinia pestis)? made me think that I don't really have a justification for that, seeing that the mechanisms for combatting viral diseases and bacterial diseases should be the same (is that right?). So, is it possible to vaccinate against bacterial diseases? Do we have existing vaccines for any bacterial disease?

Of course we can - and do - vaccinate against bacterial diseases, as these are some of the dangerous infectious diseases. Among these are:

* Tetanus (although here the vaccination is targeted against the toxin, not the bacterium itself)
* Tuberculosis
* Diphtheria
* Pertussis
* Haemophilus influenzae type B
* Cholera
* Typhoid
* Streptococcus pneumoniae
* Meningococcus: against the strains ACWY, B



A list of the vaccines against bacterial diseases can be found here.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 62090d607dee663efbbad3fb56eb9542