5.输入mysql回车,如果成功,将出现MySQL提示符 <
6. 连接权限数据库<use mysql; (<是本来就有的提示符,别忘了最后的分号)
6.改密码:update MySQL.user set authentication_string=password(‘root‘) where user=‘root‘;(别忘了最后的分号)
7.刷新权限(必须的步骤)<flush privileges;
8.\q 退出;
最新 mysql登录报错“Access denied for user 'root'@'localhost' (using password: NO”的处理方法
标签:-- localhost 处理 using mysqld 关闭 update bin host