Q 5 - Labs MySQL can't login to the root user


Attaching the screenshot. I can’t login to the root user using the temporary password

Hi @mayureshkrishna ,

Use the password between single quotes, like this:

mysql -u root -p'<password_here>'

Thanks,
KodeKloud Support

Hi, I am unable to type anything in password after entering mysql -u root -p command, I have tried to enter password in command itself within ingle quotes but it returns that using pass on cmd line can be insecure, please help

This question already manage on anoter ticket :