在学习整合springboot+ jpa的时候,只写了个简单的例子,就报错CommunicationsException: Communications link failure,然后将连接数据库的
url=jdbc:mysql://localhost:3306/db_book?serverTimezone=GMT中的localhost改成127.0.0.1就不报错了,应该是框架不识别。
报错CommunicationsException: Communications link failure
最新推荐文章于 2025-04-23 17:24:44 发布