mysqldude
Error codes › 1827

MySQL & MariaDB error 1827 ER_PASSWORD_FORMAT

MySQLThe password hash doesn't have the expected format.
MariaDBThe password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function
Example from our test runs: The password hash doesn't have the expected format. (8.0.46)
MySQLMariaDB
SymbolER_PASSWORD_FORMATER_PASSWORD_FORMAT
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.6.51 activesince 10.0.38 active

Where this error shows up in our guides

How the message changed between versions
MySQL fromSymbolMessage
5.6.51ER_PASSWORD_FORMATThe password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
8.0.16ER_PASSWORD_FORMATThe password hash doesn't have the expected format.
MariaDB fromSymbolMessage
10.0.38ER_PASSWORD_FORMATThe password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
10.2.44ER_PASSWORD_FORMATThe password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function