ERROR 1045 (28000): Access denied for user ODBC@localhost

使用mysql, 碰到这个问题:
C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N
O)


解决:
1:

C:\Program Files\MySQL\MySQL Server 5.0\bin>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:
C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql
mysql>status


没问题了...

你可能感兴趣的:(Access,denied,ODBC@localhost)