Mysql密码登陆
安装Mysql 后,命令符无法登陆。You must reset your password using ALTER USER statement before executing this statement.
①使用临时密码登录后,需及时更改ROOT密码。
临时密码在解压文件中,在mysql-8.0.18-winx64\data文件侠下,AUTOBVT-FL85VRK.err文件打开。
A temporary password is generated for [email protected]: 临时密码
②无法使用mysql,提示:You must reset your password using ALTER USER statement before executing this statement.
③使用:alter user user() identified by "新密码";
④使用新设置的密码登陆成功。
欢迎交流,共同学习进步。