title: How to cause deadlock on MySQL
body: <p>For test purposes, I need to generate a <strong>"1213: Deadlock"</strong> on <strong>MySQL</strong> so that UPDATE query can't update a table. </p>
  
  <p>I am not not quite sure how to cause deadlock? </p>