Mysql server 基本命令

 

基本命令:

Show databases : 显示当前肜户下所能看到的数据库:

Use  database_name:  使用数据库

字段名   Primary key : 设置当前字段为主键

字段名   Auto_increment : 设置当前字段自动增长

Desc table_name :查看当前表结构

Rollback : 回滚

Commit 提交

Set autocommit=false/true  设置自动提交实现事务外理

你可能感兴趣的:(数据结构,mysql)