在连接数据库配置都没错,jar包也有,但是还是报
Could not create connection to database server.错误,那是因为mysql8.0版本的使用的数据库连接字符串不一样,而且还对时区有要求,引用下面的连接即可
url: jdbc:mysql://localhost:3306/hao?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
driver: com.mysql.cj.jdbc.Driver

相关文章:

  • 2021-06-12
  • 2021-09-25
  • 2022-02-08
  • 2022-12-23
  • 2021-10-07
  • 2021-06-02
  • 2021-11-11
猜你喜欢
  • 2021-11-29
  • 2021-11-02
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案