C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -u root -p123 csdn
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.33-community-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| csdn |
| db_m1234 |
| examples |
| mysql |
| test |
+--------------------+
6 rows in set (0.14 sec)