Springboot之mysql连接问题

修改application.properties时报错:
正确写法:

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/student?serverTimezone=UTC&useSSL=false		             	  
spring.datasource.username=root
spring.datasource.password=root

spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

你可能感兴趣的:(Springboot之mysql连接问题)