我是将
MYSQL安装在C:\Program Files\MySQL
所以
C:\Program Files\MySQL\MySQL
Server5.0\bin>
mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.0.67-community-nt MySQL Community Edition (GPL)
Your MySQL connection id is 3
Server version: 5.0.67-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
这样就成功了.