MySQL Password Hash Generator

Convert plain text passwords to MySQL hash values with support for multiple hash algorithms

Hash Algorithm Selection

Input Password

Usage Examples

Create User

CREATE USER 'username'@'localhost' IDENTIFIED BY PASSWORD '*HASH_VALUE';

Set Password

SET PASSWORD FOR 'username'@'localhost' = '*HASH_VALUE';

Security Tips

  • ⚠️PASSWORD() function is deprecated in MySQL 5.7.6, consider using more secure authentication plugins
  • ℹ️OLD_PASSWORD() is only for compatibility with versions before MySQL 4.1, has lower security
  • Generated hash values can be directly used for MySQL user management and password settings
  • 🔒Please ensure using this tool in a secure environment, avoid processing sensitive passwords on public networks