未命名.jpg
(命令行中的分號不可省略)
登錄:mysql -h localhost -p -u root
創(chuàng)建數(shù)據(jù)庫:create database cookbook;
使用數(shù)據(jù)庫:use cookbook;
創(chuàng)建表:create table limbs (thing varchar(20), legs int, arms int);
插入數(shù)據(jù):insert into limbs (thing,legs,arms) values ('human',2,2);
查看表:select * from limbs
hah.jpg
查看狀態(tài):status
其中有字符編碼
等等.jpg