title: Mysql_install_db cannot find file
body: <p>I am trying to use mysql_install_db</p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>FATAL ERROR: Could not find ./bin/my_print_defaults</p>
    
    <p>If you compiled from source, you need to run 'make install' to
    copy the software into the correct location ready for operation.</p>
    
    <p>If you are using a binary release, you must either be at the top
    level of the extracted archive, or pass the --basedir option
    pointing to that location.</p>
  </blockquote>
  
  <p>I've tried using</p>
  
  <pre><code>    which my_print_defaults
  </code></pre>
  
  <p>It returns:</p>
  
  <pre><code>    /usr/local/bin/my_print_defaults
  </code></pre>
  
  <p>So I try the command:</p>
  
  <pre><code>    mysql_install_db --base-dir=/usr/local/bin/ 
  </code></pre>
  
  <p>I still receive the same error, though.</p>