MySQL基础命令

DBS 

MySQL 基础命令 基础命令 修改密码 alter user ‘root’@‘localhost’ identified by ‘Root@123456’; set password for 'root'@'localhost' password('123456'); # 5.6版本 查看m

MySQL 索引

MySQL 索引 1. 索引分类 1.1. 普通索引 index:加速查找 1.2. 唯一索引 主键索引:primary key :加速查找+约束(不为空且唯一) 唯一索引:unique:加速查找+约束 (唯一) 1.3. 联合索引 primary key(id,name):联

DBS