• Sergei Golubchik's avatar
    Use mysql.user.authentication_string for password · 76151f3c
    Sergei Golubchik authored
    Don't distinguish between a "password hash" and "authentication string"
    anymore. Now both are stored in mysql.user.authentication_string, both
    are handled identically internally. A "password hash" is just how some
    particular plugins interpret authentication string.
    
    Set mysql.user.plugin even if there is no password. The server will use
    mysql_native_password plugin in these cases, let's make it expicit.
    
    Remove LEX_USER::pwhash.
    76151f3c
rpl_create_drop_user.result 2.36 KB