title: Exporting mysql database using mysqldump including procedures
body: <p>While exporting databases using mysqldump like this, </p>
  
  <pre><code>mysqldump -u mysqluser -p mysqlpassword databasename &gt; /tmp/databasename.sql
  </code></pre>
  
  <p>Will this command also export stored procedures that listed using the following command,</p>
  
  <pre><code>SHOW PROCEDURE STATUS WHERE db = 'databasename';
  </code></pre>
  
  <p>If not, how to export mysql database using mysqldump along with its associated stored procedures from the Linux terminal? Also note that i cannot use phpMyAdmin for this purpose.</p>