From bb4332fe879900856a6540fa50562b2ad612e456 Mon Sep 17 00:00:00 2001 From: "sean.zhou" Date: Fri, 25 Mar 2022 15:48:05 +0800 Subject: [PATCH] Adapt to mysql 8.0 --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f29e8d4..9cb4e88 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -7,7 +7,7 @@ spring: druid: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/cloud_sample?useSSL=false + url: jdbc:mysql://localhost:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true username: root password: root initial-size: 10 @@ -30,7 +30,7 @@ jwt: mqtt: protocol: tcp - host: Please enter your IP. # Example: 192.168.1.1 + host: Please enter the address of the emqx server. # Example: 192.168.1.1 port: 1883 username: JavaServer password: 123456