先进WINDOWS的DOS,然后切换到mysql/bin 目录 下,再用mysql -u root -pH:\>cd C:\Program Files\MySQL\MySQL Server 5.1\binH:\>C:C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -u root -p123 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 6 Server version: 5.1.33-community-log MySQL Community Server (GPL)Type 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql>
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.1.33-community-log MySQL Community Server (GPL)Type 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql>