mysql> create user haixun@'%' identified by '123456';
Query OK, 0 rows affected (0.00 sec)mysql> quit
ByeD:\wamp\bin\mysql\mysql5.0.51b\bin>mysql -u haixun -p123456
ERROR 1045 (28000): Access denied for user 'haixun'@'localhost' (using password: YES)刚刚建的用户怎么不能登录, 奇怪的是我不用密码竟然可以登录。mysql到底怎么回事??
D:\wamp\bin\mysql\mysql5.0.51b\bin>mysql -u haixun
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.0.51b-community-nt MySQL Community Edition (GPL)Type 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> 不用密码竟然能登录, mysql有毛病啊?