ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N O) MYSQL

时间:2023-01-21 18:25:43
ERROR 1045 (28000): Access denied for user  ODBC@localhost

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

解决方法: 
Step 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 

正常使用....