title: Specifying separate config file on mysqldump command line
body: <p>My main MySQL user's /home//my.cnf file looks like this (Linux system):</p>
  
  <pre><code>[client]
  host=localhost
  user=&lt;user&gt;
  password=********
  database=h2o_amr
  </code></pre>
  
  <p>I want to point mysqldump to this config file, which is in the directory where the mysqldump file will be written:</p>
  
  <pre><code>[client]
  host=localhost
  user=&lt;user&gt;
  password=********
  </code></pre>
  
  <p>How do I point mysqldump to this config file? I have searched for an answer to this in the man pages and the Internet before posting this question.</p>