标签:
IT/科技 |
分类: mysql |
刚使用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
正常使用....
--------------------------------------------------
我的系统是ubuntu6.06,最近新装好的mysql在进入mysql工具时,总是有错误提示:
# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Acc