![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人随笔
huasm1
这个作者很懒,什么都没留下…
展开
-
数据库索引基础知识整理
一、索引 1.索引主要分:主键索引、唯一索引、普通索引、全文索引 2.创建索引的目的:加快表的查找和排序 3.创建索引方法: (1).create index 索引名 on 表名(列表名) (2).alter table 表名 add index 索引名(列表名) (3).create table 表名(index 索引名(列表名)) 4.查看索引:show index from转载 2017-10-22 11:40:10 · 407 阅读 · 0 评论 -
MyBatis数据库层相关配置
一、datasource.properties文件配置 driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/mybook?useUnicode=true&characterEncoding=UTF-8 jdbc.username=root jdbc.userpwd=root 二、SqlMapConfig.转载 2017-10-23 21:17:53 · 245 阅读 · 0 评论