ERROR 1045 (28000): Access denied for user'root'@'localhost'(using password:YES)
- 进入了mysql后输入:mysql -u root
- 输入:use mysql
- 输入:update user set password=old_password('scf') where user='root' and host='localhost' ;
- 输入:FLUSH PRIVILEGES;
莫愁前路无知己,天下无人不识君。