title: How to print messages from MySQL for debugging purposes?
body: <p>I'm more of a MS-SQL / PostgreSQL guy, but I'm working on a MySQL project.  In one of my sprocs (functions) I would like to simply output the value of a variable at runtime for debugging purposes.  </p>
  
  <p>With PostgreSQL, this is done using <a href="http://www.postgresql.org/docs/8.4/interactive/plpgsql-errors-and-messages.html" rel="nofollow noreferrer">RAISE NOTICE</a>.  This there an equivalent method in MySQL?</p>