We demonstrate the requirement of the MyD88-Traf6 pathway for the infection-triggered induction of miR-146a/b in the zebrafish embryo model. Here, TRAF6 is linked to infection.