From dd0f24c33b159d225b092a592bd014e600d96301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B3=A5=E7=93=A6=E5=8C=A0BYSocket?= Date: Sat, 9 Mar 2019 11:53:48 +0800 Subject: [PATCH] Update application.properties --- .../src/main/resources/application.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/springboot-freemarker/src/main/resources/application.properties b/springboot-freemarker/src/main/resources/application.properties index 981c14e..48f9adb 100644 --- a/springboot-freemarker/src/main/resources/application.properties +++ b/springboot-freemarker/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://127.0.0.1:3306/springbootdb?useUnicode=true&characterEncoding=utf8 spring.datasource.username=root -spring.datasource.password=Hello123!@ +spring.datasource.password=XX spring.datasource.driver-class-name=com.mysql.jdbc.Driver ## Mybatis 配置 @@ -18,4 +18,4 @@ spring.freemarker.content-type=text/html spring.freemarker.expose-request-attributes=true spring.freemarker.expose-session-attributes=true spring.freemarker.request-context-attribute=request -spring.freemarker.suffix=.ftl \ No newline at end of file +spring.freemarker.suffix=.ftl