<?xml version="1.0" encoding="UTF-8" ?>
<environments default="development">
<environment id="development">
<transactionManager type="JDBC"/>
<dataSource type="POOLED">
<!-- 1.加载数据库驱动 -->
<property name="driver" value="com.mysql.jdbc.Driver"/>
<!-- 2.数据库连接地址 -->
<property name="url" value="jdbc:mysql://localhost:3306/mybatis?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT"/>
<!-- 3.数据库用户... -->
<property name="username" value="root"/>
<!-- 4.数据库密码... -->
<property name="password" value="root"/>
</dataSource>
</environment>
</environments>
<!--每一个ma