title: reset root mysql on windows
body: <p>Following the recommended instructions for resetting root at <a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-windows" rel="nofollow">link</a> and the other recommendations here at stackoverflow. I tried to reset my root pass both ways suggested, with and without the --defaults-file option</p>
  
  <p><strong>First I tried.</strong></p>
  
  <pre><code>"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld"  –init-file=C:\\mysql-init.txt --console
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Too many arguments (first extra is 'ûinit-file=C:\mysql-init.txt').</p>
  </blockquote>
  
  <p><strong>Next I tried</strong></p>
  
  <pre><code>"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\\ProgramData\\MySQL\\MySQL Server 5.5\\my.ini" MySQL55 –init-file=C:\\mysql-init.txt --console
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Too many arguments (first ex
    tra is 'MySQL55').</p>
  </blockquote>
  
  <p>'Too many arguments' makes me think my syntax is the problem</p>