I am trying to connect to MySQL through the command prompt. But I always get "access is denied for 'admin'@'localhost' user." (Error 1045).
This MySQL is running on Windows 2012 R2 server. There I have two instances of MySQL server running on different ports: one for Plesk database on port 8306, and another is for Client database (to which I am trying to connect) on the usual port 3306.
As specified here : http://kb.sp.parallels.com/en/427 I am using the respective username and password.
And I am running this command: mysql -uadmin -p*** -P3306
. But it gives me Access denied error.
I would be really grateful if someone can suggest What can be the reason behind this error.