Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:mysql//localhost:3306/yccloud?ser
Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:mysql//localhost:3306/yccloud?serverTimezone=UTC
·
原因:
spring.datasource.url写错了,注意层级关系
正确格式为:
jdbc:mysql://localhost:3306/yccloud?serverTimezone=UTC
更多推荐
已为社区贡献1条内容
所有评论(0)