

Access denide for user 'book'@'localhost'(using password:YES)
请问这个问题怎么解决
MySOL的问题Access denide for user
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
3条回答 默认 最新
luckyeve123 2015-10-10 03:56关注忘记密码
bin/mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
bin/mysql -u rootuse mysql;
UPDATE user SET Password=PASSWORD('123456') where USER='root';
flush privileges;
quit;权任意机器,使用root账号登录,密码123456
select * from user \G
grant all on . to root@"%" identified by '123456';
flush privileges;
quit;解决 无用评论 打赏 举报