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:
druid: druid:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver 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 username: root
password: root password: root
initial-size: 10 initial-size: 10
@ -30,7 +30,7 @@ jwt:
mqtt: mqtt:
protocol: tcp 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 port: 1883
username: JavaServer username: JavaServer
password: 123456 password: 123456

Loading…
Cancel
Save