Whenever I type /usr/local/mysql/bin/mysql -u myuser -p and enter and then enter the password it shows an error

Whenever I type /usr/local/mysql/bin/mysql -u myuser -p and enter and then enter the password it shows an error:-

Deeptis-MacBook-Air:~ deeptisharma$ /usr/local/mysql/bin/mysql -u myuser -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘myuser’@‘localhost’ (using password: YES)

@sharma.deepti182 check if the user is already created, and also send the set of command you used while creating user from root.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.