when am trying to open mysql in windows cmd by typing mysql. the following error is occuring.
ERROR 1045 (28000): Access denied for user ODBC@localhost (usin
You need to create an user "ODBC" for MySql with no password. Do that in PHPMyAdmin. That will solve your problem.
But remember, if it's only your local development environment, no problem. It'll create a serious security hole in your production environment.