Using old_passwords = 1 It is Not Possible to Log In or to Set Password; Access Denied For User; The Password Hash Doesn't Have the Expected Format; Password Hash Should be a 41-digit Hexadecimal; Error 1045, 1827; 1372 (Doc ID 1556788.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Server - Version 5.6 to 5.6 [Release 5.6]
Information in this document applies to any platform.

Symptoms

In MySQL 5.6 when attempting to trying to login using a user account with a pre-MySQL 4.1 password (old_passwords = 1), the following error occurs:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms