Upgrading mysql in linux also changes the password algorithm.
Source: Internet
Author: User
The password algorithm has also changed during mysql upgrade in linux. For more information about Linux Enterprise applications and Linux server applications, see the following. The old version of mysql is mysql3.23.57 and has been upgraded to mysql5.20a! The funny thing is that I used to authenticate a user's password (password encryption). Now I am not authorized to authenticate (cannot log on )! I used phpmyadmin to go to the new version of mysql5.20a and checked the characters in the pwd field (password-encrypted characters) in it, which is the same as that in the previous version of mysql3.23.57, but cannot get in! There is no way to delete the pwd field in the new version of mysql5.20a and leave it blank. Go back to authentication and enter it (no password required )! I'm bored! Try again with the password, so in the new version of mysql5.20a, use the previously written user adding program to change the password back, you can authenticate the login! So I used phpmyadmin to go to the new version of mysql5.20a and checked the characters in the pwd field! The encrypted password is much longer in the new version than in the old version! Depressed! (Red hat 9.0 + apache2.0.58 + php5.1.4 + mysql5.20a)
The new password cannot be authenticated. It is okay to change your user password! But how can I change others' passwords? What about the Forum? That's not terrible! I checked a lot of information and did not provide this introduction. Is it because I have a problem? Let's take a look at your comments!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service