From d1f65591439c619fa8cf7a6382d6c5b8cc81c31e Mon Sep 17 00:00:00 2001 From: JeffLi1993 Date: Thu, 23 Feb 2017 11:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../src/main/resources/application.properties | 4 ++-- .../src/main/resources/application.properties | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index eb54180..3c3544e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固 作者:[泥瓦匠BYSocket](http://www.bysocket.com/ "泥瓦匠BYSocket")
QQ 群
编程之美① 365234583 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美")
-编程之美② 290714704 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美")
+编程之美② 290714704 [立即加入](http://jq.qq.com/?_wv=1027&k=Sx4s4U "编程之美")

关注微信公众号【泥瓦匠BYSokcet】,及时得到技术文章推送
![公众号](https://github.com/JeffLi1993/springboot-learning-example/blob/master/doc/qrcode.jpg) diff --git a/springboot-mybatis/src/main/resources/application.properties b/springboot-mybatis/src/main/resources/application.properties index 3cefff1..dca1d7f 100644 --- a/springboot-mybatis/src/main/resources/application.properties +++ b/springboot-mybatis/src/main/resources/application.properties @@ -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 配置 diff --git a/springboot-restful/src/main/resources/application.properties b/springboot-restful/src/main/resources/application.properties index 3cefff1..da0aee5 100644 --- a/springboot-restful/src/main/resources/application.properties +++ b/springboot-restful/src/main/resources/application.properties @@ -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 \ No newline at end of file +mybatis.mapperLocations=classpath:mapper/*.xml +