Before version 8.0, MySQL used this function to create password hashes. 8.0 removed the function, replacing the functionality with upgraded ALTER USER syntax.
Some developers have relied on CONCAT( '*', UPPER(SHA1(UNHEX(SHA1('thispasswd')))) ) Last updated 26 Oct 2024 |
![]() |