springboot启动报错com.zaxxer.hikari.pool.HikariPool : root - Exception during pool initialization.

springboot启动时报错com.zaxxer.hikari.pool.HikariPool : root - Exception during pool initialization.

 

改为如下配置后,启动成功

server.port=8080
spring.application.name=server_edu
spring.profiles.active=dev

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/guli?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
#spring.datasource.name=root
#spring.datasource.password=root

#spring.datasource.url=jdbc:mysql://localhost/guli
spring.datasource.username=root
spring.datasource.password=root

你可能感兴趣的:(springboot)