MySQL’s OLD_PASSWORD() uses bytes, not characters

This is all ancient history, but sometimes you have to deal with ancient systems. Way back in MySQL 4.x, MySQL had a PASSWORD() function that was used to set MySQL-managed user credentials. You gave it a string and it returned a hex string. It was never intended to be used by clients to hash passwords Continue reading MySQL s OLD_PASSWORD() uses bytes, not characters