In conclusion, our results demonstrated that danshen ameliorates inflammatory injury by controlling MD2/TLR4‐MyD88 complex formation and TLR4‐TRAF6‐NF‐κB signalling pathway in acute myocardial infarction‐induced HF. This evidence concerns the gene MYD88 and myocardial infarction.