登录时不要加密码Microsoft Windows 2000 [Version 5.00.2195]
(C) 版权所有 1985-2000 Microsoft Corp.D:\>cd mysql\binD:\mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.12-nt-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> use mysql
Database changed
mysql> SELECT Host,User,Password FROM user;
+-----------+------+----------+
| Host | User | Password |
+-----------+------+----------+
| localhost | root | |
| localhost | | |
+-----------+------+----------+
2 rows in set (0.02 sec)mysql>
(C) 版权所有 1985-2000 Microsoft Corp.D:\>cd mysql\binD:\mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.12-nt-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> use mysql
Database changed
mysql> SELECT Host,User,Password FROM user;
+-----------+------+----------+
| Host | User | Password |
+-----------+------+----------+
| localhost | root | |
| localhost | | |
+-----------+------+----------+
2 rows in set (0.02 sec)mysql>
SET PASSWORD = 'DFSAFSFSAF';