连接数据库报错:The Network Adapter could not establish the connection 或者 Communication failure
十分感谢https://blog.youkuaiyun.com/makang110/article/details/81185270的作者。链接的作者说原因在于eclipse有时在联网时会将ipv4转换为ipv6使用导致出错(我暂未考证)笔者手中的项目在运行中需要与数据库建立很多次链接,总是在运行到某个时候出现The Network Adapter could not establish the connection或者Communication failure这样的错误,起初以为超出了数据库的连接数限制,检查
原创
2020-09-18 17:30:36 ·
2057 阅读 ·
0 评论