进入mysql
----------
cd mysql/bin
./mysql -uroot -p
输入密码
使用表格
----------
use [table name];
show tables; 查看所有的表格
查看表格名称
----------
desc 表名;
show columns from 表名;
describe 表名;
show create table 表名;
进入mysql
----------
cd mysql/bin
./mysql -uroot -p
输入密码
使用表格
----------
use [table name];
show tables; 查看所有的表格
查看表格名称
----------
desc 表名;
show columns from 表名;
describe 表名;
show create table 表名;
转载于:https://www.cnblogs.com/-Rik/archive/2012/08/31/2665220.html