title: mysqldump: Error: 'Lost connection to MySQL server during query' when trying to dump tablespaces
body: <p>I am trying to get a dump of a database on one of our (small) servers. I am running this command:</p>
  
  <pre><code>sudo mysqldump --opt -u [name] -p [password] smx &gt; smxfeb52014.sql 
  </code></pre>
  
  <p>And I'm getting this error back:</p>
  
  <pre><code>mysqldump: Error: 'Lost connection to MySQL server during query' when trying to dump tablespaces
  mysqldump: Got error: 2006: MySQL server has gone away when selecting the database
  </code></pre>
  
  <p>I've set me max_allowed_packet to 500 and restarted mysql but no dice.</p>
  
  <p>Any tips?</p>