com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not
MySQL 8.0版本导致的问题,需要在后面加allowPublicKeyRetrieval=true
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/microcloud?useSSL=false&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
username: xxxx
password: xxxx
RabbitMQ报错An unexpected connection driver error occuredjava.net.SocketException: Socket Closed
将登陆客户端的端口15672写在了Springboot的配置文件中,修改配置文件中rabbitmq端口为5672
rabbitmq:
host: localhost
port: 5672
username: guest#用户名
password: guest#密码
listener:
simple:
acknowledge-mode: manual