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'@'localho st' (Using Password: YES
Pinging localhost is 100% successfull.
netstat -a returns 'Local Address: TCP 0.0.0.0:3306
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'@'localho st' (Using Password: YES
Pinging localhost is 100% successfull.
netstat -a returns 'Local Address: TCP 0.0.0.0:3306