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

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2021-07-09
  • 2021-04-30
  • 2022-12-23
  • 2021-04-18
猜你喜欢
  • 2021-04-03
  • 2022-12-23
  • 2021-12-14
  • 2021-10-02
  • 2021-04-02
  • 2021-08-07
  • 2021-11-30
相关资源
相似解决方案