Yes, the link you posted leads me ultimately to:
http://dev.mysql.com/doc/r
Which talk about how to make the passwords "OLD" again. As it seems, my passwords *ARE* old and need to be made "new", for some reason that isn't covered by the MySQL help.
So, while your suggestion that altering the mysql.user table may work, I'm still hesitant to edit this directly since this is a production server. So, to run the test password() function on that page:
mysql> SELECT PASSWORD('mypass');
-> 6f8c114b58f2ce9e
This means that my MySQL server uses the old passwords as per this page, so I'm assuming that the PHP/MySQL combination in Snow Leopard is trying the new password hash only?
But still, the error message I recieve is "packet 6 bytes shorter than expected", which isn't the difference between 16 and 41, so I don't know what to make of it.
Main Topics
Browse All Topics





by: pmessanaPosted on 2009-09-02 at 13:01:37ID: 25244962
Check this out: http://dev.mysql.com/doc/r efman/5.1/ en/passwor d-hashing. html
Read down where it talks about the length of the password and the proper way to upgrade to avoid the issue, it sounds like you upgraded out of sync of what they suggest. You could try changing the size of the column in the user table when in as root and then reset the password so that it is 41. Set it to VARCHAR(41)
ALTER TABLE `users` CHANGE `password` `password` VARCHAR( 41 )