Mysql 查看、建立、更改 数据库和表

查看 先登陆指定用户下的数据库 mysql -u 用户名 -p 查看多少个数据库 mysql> show databases; 查看指定数据库下的表 mysql> use mysql; mysql> show tables; 查看指定表中的列 mysql> show columns from table_user; describe auth_user; #describe 表名 是s
相关文章
相关标签/搜索