Error codes › 1372
MySQL & MariaDB error 1372 ER_PASSWD_LENGTH
Example from our test runs:
Password hash should be a 41-digit hexadecimal number (5.6.51) · Password hash should be a 41-digit hexadecimal number (10.6.28) | MySQL | MariaDB | |
|---|---|---|
| Symbol | OBSOLETE_ER_PASSWD_LENGTH | ER_PASSWD_LENGTH |
| SQLSTATE | HY000 | HY000 |
| Type | Server error | Server error |
| Versions | every release since 5.0; now an unused placeholder (since 8.0.11) obsolete | every release since 5.5 active |
Where this error shows up in our guides
- Resetting lost root password · --skip-grant-tables + FLUSH PRIVILEGES; SET PASSWORD FOR ... = 'plain' MySQL 5.6MariaDB 10.6 10.11 11.4 11.8
How the message changed between versions
| MySQL from | Symbol | Message |
|---|---|---|
| 5.0.96 | ER_PASSWD_LENGTH | Password hash should be a %d-digit hexadecimal number |
| 8.0.11 | OBSOLETE_ER_PASSWD_LENGTH | Password hash should be a %d-digit hexadecimal number |