Current location - Quotes Website - Personality signature - When mysql builds tables, the password is encrypted by md5 (), but the result of encryption is different from that obtained by using PHP function md5.
When mysql builds tables, the password is encrypted by md5 (), but the result of encryption is different from that obtained by using PHP function md5.
I haven't seen your whole journey, so it's hard to draw a conclusion.
There may be several problems:
PHP md5 encryption, no problem.
MYSQL md5 encryption is fine.
Just now, the encryption length of PHP's md5 is two digits longer than MySQL's MD5.
What is the length of the field you used? Is it 32?