This commit is contained in:
JeffLi1993
2017-02-23 11:31:15 +08:00
committed by liqiangqiang
parent a9c664c75c
commit d1f6559143
3 changed files with 7 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固
作者:[泥瓦匠BYSocket](http://www.bysocket.com/ "泥瓦匠BYSocket")<br>
QQ 群<br>
编程之美① 365234583 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美") <br>
编程之美② 290714704 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美") <br>
编程之美② 290714704 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美") <br><br>
关注微信公众号【泥瓦匠BYSokcet】及时得到技术文章推送<br>
![公众号](https://github.com/JeffLi1993/springboot-learning-example/blob/master/doc/qrcode.jpg)

View File

@@ -1,7 +1,7 @@
## 数据源配置
spring.datasource.url=jdbc:mysql://139.224.14.39:3306/springbootdb?useUnicode=true&characterEncoding=utf8
spring.datasource.url=jdbc:mysql://localhost:3306/springbootdb?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=Hello123!@
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
## Mybatis 配置

View File

@@ -1,9 +1,10 @@
## 数据源配置
spring.datasource.url=jdbc:mysql://139.224.14.39:3306/springbootdb?useUnicode=true&characterEncoding=utf8
spring.datasource.url=jdbc:mysql://localhost:3306/springbootdb?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=Hello123!@
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
## Mybatis 配置
mybatis.typeAliasesPackage=org.spring.springboot.domain
mybatis.mapperLocations=classpath:mapper/*.xml