RE: Access denied for user 'ODBC'@'localhost'

"Bonnett, John" <[email protected]> Tue, 3 Jul 2007 08:16:52 +0930
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
The error message you are getting implies that you are trying to connect
as user ODBC not root. Perhaps that is the problem?

John Bonnett 

-----Original Message-----
From: Ahmed Han [mailto:[email protected]] 
Sent: Friday, 29 June 2007 3:26 AM
To: [email protected]
Subject: Access denied for user 'ODBC'@'localhost'

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.

-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]