="localhost";
3.2 用户权限管理
命令:GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON 数据库名.* TO 用户名@登录主机...update, delete, create, drop, index, alter, grant, references, reload, shutdown, process, file共14个权限,...CREATE 和 INSERT 权限
5.4 删除数据表
命令:drop table ;
mysql> drop table sunshine; -- 普通删除
mysql> DROP TABLE...)>;
mysql> alter table sunshine add primary key(id);
加唯一限制条件索引
命令:alter table add unique drop index ;
mysql> alter table sunshine drop index name_index2;
6.