MySQL Forums
Forum List  »  Newbie

Re: What statement replaces IDENTIFIED BY PASSWORD 'hash_string'?
Posted by: Peter Brawley
Date: March 30, 2021 09:44AM

Before 8.0, granting a privilege to a user that did not exist created the user. Since 8.0, create users with CREATE MySQL Command Syntax USER; otherwise think of GRANT and REVOKE as frontends for maintaining mysql database tables user, db, tables_priv, columns_priv.

And before 8.0, with Grant, when a raw password immediately followed IDENTIFIED BY, MySQL hashed it, saving the result; a password value preceded by the keyword PASSWORD had to have been hashed by PASSWORD(). Version 8.0 removed IDENTIFIED BY and PASSWORD().

Options: ReplyQuote


Subject
Written By
Posted
Re: What statement replaces IDENTIFIED BY PASSWORD 'hash_string'?
March 30, 2021 09:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.