【error】root - Exception during pool initialization

【error】root - Exception during pool initialization_第1张图片

报错提示:root - Exception during pool initialization.
 错误原因: 配置数据库出错

我的错误配置:

spring.datasource.url=jdbc:mysql://localhost:3306/springboot?serverTimezone=GMT
spring.datasource.name=root
spring.datasource.password=1234

正确配置:

spring.datasource.url=jdbc:mysql://localhost:3306/springboot?serverTimezone=GMT
spring.datasource.username=root
spring.datasource.password=1234

遇到此种错误,先去看看配置数据库语句有没有写错 

你可能感兴趣的:(报错栏,数据库,oracle)