Access denied for user 'ODBC'@'localhost'

"Ahmed Han" <[email protected]> Thu, 28 Jun 2007 20:56:18 +0300
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
I have PHP&MySQL installed on my system well working.

I get error Access denied for user 'ODBC'@'localhost' when I connect MySQL
using command line with a command like this :
mysql -hlocalhost -uroot -ppassword

But I connect with no problem using the following command :
mysql -uroot

Why do I get error when I specify the host name and password? My final
purpose is connecting to mysql via PHP. But I get the same error in PHP.