On windows, I have two root users.
I deleted one and kept the local one (root@localhost).
I set its password by :
set password for 'root'@'localhost'= password('new_password');
I exit and I do :
mysql -u root
and I am in mysql.
I was waiting for the password request.