From 6d2efeac4f784aedbe4fd8bb570c87327d874f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=80=9D=E9=80=9A=E6=95=B0=E7=A7=91=20StoneDT?= <13913853100@163.com> Date: Tue, 15 Feb 2022 13:26:45 +0000 Subject: [PATCH] =?UTF-8?q?update=20config/application.yml.=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=20#=20=E8=AE=BE=E7=BD=AEMySQL=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=9C=B0=E5=9D=80=E5=92=8C=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E5=8F=8A=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/application.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/application.yml b/config/application.yml index ac17880..7fabf0f 100644 --- a/config/application.yml +++ b/config/application.yml @@ -1,3 +1,5 @@ + +# server: port: 8084 servlet: @@ -26,12 +28,16 @@ spring: enabled: true #热部署生效 application: name: stonedt-portal + + # 修改设置MySQL服务器地址和用户名及密码 datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/stonedt_portal?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai&useSSL=false username: root password: 123456 + + # 修改设置Redis服务器地址 redis: database: 0 host: localhost