468,510 Members | 1,768 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,510 developers. It's quick & easy.

Connection Failed OBBC driver 5.1 Access Denied for user 'Root'@'localhost'

My Scenario on Windows VISTA, MySQL 5.5:

In cmd line I am able to enter 'mysql -u root -p' to enter MySQL shell after entering the correct password.
'USE myDB' or SHOW DATABASES' or 'SHOW TABLES' etc works here

Entering in 'mysqladmin -u root -h 'localhost' version variables -p'
I get the following error message:
'mysqladmin: connect to server at ''localhost'' failed'
'error: 'Unknown MySQL server host ''localhost'' (0)''

In 'Services' I can see that MySQL has status 'started'

In MySQL Connector/ODBC I got the following parameters:
'Data Source Name = mysql_test'
'TCP/IP Server = localhost'
'Port = 3306'
'User = root'
'Password = mypass'

When I try to test the connection I get the following error:
Connection Failed: [HY000][MySQL][ODBC 5.1 Driver]Access Denied for user 'root'@'localhost' (Using Password: YES

Pinging localhost is 100% successfull.
netstat -a returns 'Local Address: TCP
Jan 12 '12 #1
0 2597

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Ryan Schefke | last post: by
reply views Thread by adrian GREEMAN | last post: by
reply views Thread by Karen | last post: by
reply views Thread by Steve | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.