2280518650@qq.com Posted July 11, 2015 Share Posted July 11, 2015 I have connected to mysql client. I try to set the password for mysql. However, everytime when I typed in SET PASSWORD FOR 'root'@'localhost' = PASSWORD('WENG'); It shows me "access denied for user''@'localhost' to database 'mysql'. I am really confused where I got wrong. Link to comment Share on other sites More sharing options...
Larry Posted July 13, 2015 Share Posted July 13, 2015 What version of MySQL are you using? On what operating system. What user are you connecting to MySQL as? Link to comment Share on other sites More sharing options...
2280518650@qq.com Posted July 18, 2015 Author Share Posted July 18, 2015 Never mind. I have figured out the problem. I did not log in to change the password. Link to comment Share on other sites More sharing options...
Larry Posted July 20, 2015 Share Posted July 20, 2015 Ah, okay. Thanks for letting me know! Link to comment Share on other sites More sharing options...
Recommended Posts