ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost'的解决方法

错误现象:

C:\Documents and Settings\admin>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N
O)

解决方法:

C:\Documents and Settings\gfg>mysql -u root -p 
Enter password: ******(输入你的密码) 
Welcome to the MySQL monitor. Commands end with ; or \g. 
Your MySQL connection id is 28 to server version: 5.0.24a-community-nt 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer. 
Step 2: 
mysql>status 
……………… 
posted @ 2011-08-11 10:28  greatjone  阅读(13364)  评论(0)    收藏  举报