From 43f55e43225c55fc21a2ee73e19ff9cedb87f263 Mon Sep 17 00:00:00 2001 From: "wenhua.zhou" Date: Mon, 11 Dec 2023 09:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fb3cbf3..4d8ede4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -6,9 +6,12 @@ server: spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/cac?characterEncoding=utf-8&serverTimezone=UTC +# url: jdbc:mysql://localhost:3306/cac?characterEncoding=utf-8&serverTimezone=UTC +# username: root +# password: root + url: jdbc:mysql://192.168.50.200:3306/mqttcac?characterEncoding=utf-8&serverTimezone=UTC username: root - password: root + password: 123456 #sql: #init: #指定脚本文件位置 @@ -30,7 +33,7 @@ mybatis: #指定mybatis配置文件的位置 #config-location: classpath:mybatis/mybatis-config.xml #指定映射文件的位置 - mapper-locations: classpath:mybatis/mapper/*.xml +# mapper-locations: classpath:mybatis/mapper/*.xml mqtt: publish: