Browse Source

Adapt to mysql 8.0

v1.1.0
sean.zhou 3 years ago
parent
commit
bb4332fe87
  1. 4
      src/main/resources/application.yml

4
src/main/resources/application.yml

@ -7,7 +7,7 @@ spring: @@ -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: @@ -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

Loading…
Cancel
Save