title: How can I get rid of these comments in a MySQL dump?
body: <p>I'm trying to create a simple structure only dump of my database. Using <code>mysqldump</code> gives me a result like:</p>
  
  <pre><code>/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  
  DROP TABLE IF EXISTS `foo`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  </code></pre>
  
  <p>No matter what I try, I just can't seem to get rid of those comments.</p>
  
  <p>I'm currently using: <code>mysqldump -p -d --add-drop-table --skip-tz-utc --skip-set-charset -h 127.0.0.1 -u foo bar --result-file=dumpfile.sql</code></p>
  
  <p><strong>Edit:</strong> I do however wish to retain other comments, such as <code>-- MySQL dump 10.13  Distrib 5.1.41, for Win32 (ia32)</code></p>