By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,630 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,630 IT Pros & Developers. It's quick & easy.

Error 1045: Access denied for user: 'ODBC@localhost' (Using password: YES)

P: n/a
Can anyone help me to figure out why each time I
try to access my database using:

c:\mysql\bin\inmysql -root -p

and afterwards:(i.e. after inputting my at the password prompt)

Enter Password: '******'

I get the following:

Error 1045: Access denied for user:
'ODBC@localhost'(Using password: YES)

This is rather confusing to me, as I'm pretty sure
that I had used the same password to pass through this
particular 'door' yesterday

my settings are in the following format:

mysql>SET PASSWORD FOR root@localhost=PASSWORD("******");
Query OK, 0 rows affected (0.00 sec)
mysql>SET PASSWORD FOR root@"%"=PASSWORD("******");
Query OK, 0 rows affected (0.00 sec)
mysql>FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
Really the password that I'm using is exactly the same
one I had assigned to my root few days ago after
installing MySQL, PHP and APACHE successfuly, and which I have been
using without problem until this afternoon.

Has anyone tackled or know how to tackle this problem?
I'd appreciate your help

Thanks

Ike
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.