Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Bonnett, John <John.Bonnett(at)vision.zeiss.com>
Date: Mon Jul 02 2007 - 18:46:52 EDT


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:ahmedhan@gmail.com] Sent: Friday, 29 June 2007 3:26 AM
To: win32@lists.mysql.com
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/win32?unsub=lists@pantek.com
Received on Mon Jul 2 18:47:14 2007

This archive was generated by hypermail 2.1.8 : Mon Jul 02 2007 - 18:50:03 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library