title: How to change the path of mysql services
body: <p>After installation of MySQL 5.1.73, I've added the path variable to</p>
  
  <pre><code>C:\Program Files\MySQL\MySQL Server 5.1\bin
  </code></pre>
  
  <p>And I tried in the command line:</p>
  
  <pre><code>"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --install
  </code></pre>
  
  <p>It shows:</p>
  
  <pre><code>The service already exists!
  The current server installed: "c:\Program Files\MySQL\mysqld" --defaults-file=my.ini MySQL
  </code></pre>
  
  <p>But as you can see the path I set is "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" but not "c:\Program Files\MySQL\mysqld" So no doubt when I type:</p>
  
  <pre><code>net start mysql
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>System error 2 has occurred.
  
  The system cannot find the file specified.
  </code></pre>
  
  <p>How to change the strange wrong directory? I've never set this wrong directory before. My platform is Windows 7 Enterprise </p>