Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.21-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> select * from mysql.user;
+-----------+------+------------------+-------------+-------------
| Host      | User | Password         | Select_priv | Insert_priv
+-----------+------+------------------+-------------+-------------
| localhost | root | 6dc81f3e26e87ad4 | Y           | Y
| %         | root | 6dc81f3e26e87ad4 | Y           | Y
| localhost |      | 6dc81f3e26e87ad4 | N           | N
| build     |      | 6dc81f3e26e87ad4 | N           | N
+-----------+------+------------------+-------------+-------------
4 rows in set (0.04 sec)mysql>
==> 设HOST为%就可以非本地连接了.