报错CommunicationsException: Communications link failure

在学习整合springboot+ jpa的时候,只写了个简单的例子,就报错CommunicationsException: Communications link failure,而后将链接数据库的 url=jdbc:mysql://localhost:3306/db_book?serverTimezone=GMT中的localhost改为127.0.0.1就不报错了,应该是框架不识别。mysql
相关文章
相关标签/搜索