【已解决】No appropriate protocol (protocol is disabled or cipher suites are inappropriate

【已解决】No appropriate protocol (protocol is disabled or cipher suites are inappropriate

问题所在:mysql驱动和url填写错误
解决方法
这里直接提供mysql8.x的驱动和url,因为mysql驱动和url内容可以向下兼容,但是向上不能拓展

驱动: com.mysql.cj.jdbc.Driver

url: jdbc:mysql://localhost:3306/db9?useUnicode=true&characterEncoding=UTF-8&userSSL=false&serverTimezone=GMT%2B8
(不过这里要注意,我的数据库名是db9)

你可能感兴趣的:(SpringBoot,Java,注解,spring,boot,spring,注解)