Need to access SQL using “mysql root -p”

Hey guys: I have one question access mysql using command line. I have no problem to access mysql based on this commend line “mysql –host=localhost –user=root –password=”mypassword””; however, I have issue access mysql using the conventional way: “mysql root -p”. I’ve tried many times to change root password. But I still only can access mysql using this commend line “mysql –host=localhost –user=root –password=”mypassword””. Any comments are welcoming!

Windows CMD.exe “The system cannot find the path specified.”

Solved by restoring Windows to previous state The message (The system cannot find the path specified.) shows… 1) When i open new CMD (Win+R => cmd). It starts with introduction. (on line 3) Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. The system cannot find the path specified. C:UsersViliamKopecky> 2) When … Read more