title: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication
body: <p>I'm having issues with connecting to MySQL 5.5.8 from PHP 5.3.5 (WAMP install). I'm getting the error below:</p>
  
  <pre><code>mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. 
  Please use an administration tool to reset your password with the command 
  SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and 
  more secure, hash value in mysql.user. If this user is used in other scripts 
  executed by PHP 5.2 or earlier you might need to remove the old-passwords flag 
  from your my.cnf file
  </code></pre>
  
  <p>I've tried every suggestion I could find on the web, including several from Stack Overflow and this one: <a href="http://engin.bzzzt.biz/2010/11/12/php-mysql-insecure-authentication/" rel="nofollow">http://engin.bzzzt.biz/2010/11/12/php-mysql-insecure-authentication/</a></p>
  
  <p>I've checked my settings and the old-passwords flag is off. I've updated my password to the new password hash and verified that the hash is 41 chars in the users table and flushed privileges. For some reason, I'm still getting the error. Anyone have any ideas?</p>
  
  <p>Update: I'm using ZenCart. This is the line where my connection is being made and where the error is being thrown:</p>
  
  <p><code>$this-&gt;link = @mysql_connect($zf_host, $zf_user, $zf_password, true) or die (mysql_error());</code></p>