I have installed MYSQL community edition on Windows server, I also added the Environment variable to execute the mysql command.
The scenario is: When I try to connect to mysql using the CMD I get the error:
ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: YES)
If I try to connect using Powershell and Mysql Workbench it does work.
How can I connect using the CMD?