title: Mediawiki: changePassword.php can't authenticate mysql
body: <p>I'm trying to use the changePassword.php maintenance script provided by mediawiki:
  <a href="http://www.mediawiki.org/wiki/Manual:ChangePassword.php" rel="nofollow">http://www.mediawiki.org/wiki/Manual:ChangePassword.php</a>
  <a href="http://www.mediawiki.org/wiki/Manual:Resetting_passwords" rel="nofollow">http://www.mediawiki.org/wiki/Manual:Resetting_passwords</a></p>
  
  <p>However, when I try to run</p>
  
  <pre><code>php changePassword.php --user=aaaa --password=xxxx
  </code></pre>
  
  <p>I simply get</p>
  
  <pre><code>Error connecting to MySQL: Access denied for user: 'root@localhost' (Using password: YES)
  </code></pre>
  
  <p>I'm pretty sure my root password is the same as MySQL one. would there be any other reason this wouldn't work?</p>