次のステートメントを使用して新しいユーザーを作成しました。 CREATE USER `erika '@' localhost'IDENTIFIED BY` first#1Pass 'PASSWORD EXPIRE;結果はどうですか?
正解:C
mysql> CREATE USER 'erika'@'localhost' IDENTIFIED BY 'first#1Pass' PASSWORD EXPIRE; mysql -u erika -pfirst#1Pass -hlocalhost mysql> use db1; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. mysql> show variables; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.