56,679
社区成员
发帖
与我相关
我的任务
分享
C:\Windows\system32>mysql -uroot -P3307 -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.25-rc-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database t_girl;
Query OK, 1 row affected (0.07 sec)
mysql> use t_girl;
Database changed
mysql> show tables;
Empty set (0.00 sec)
mysql> create table girl_test (id int not null, num int unsigned not null);
Query OK, 0 rows affected (0.10 sec)
mysql> insert into girl_test values ('1','2');
Query OK, 1 row affected (0.00 sec)
mysql> select * from girl_test;
+----+-----+
| id | num |
+----+-----+
| 1 | 2 |
+----+-----+
1 row in set (0.00 sec)