com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
作者:互联网
- IP address or hostname in JDBC URL is wrong.
- Hostname in JDBC URL is not recognized by local DNS server.
- Port number is missing or wrong in JDBC URL.
- DB server is down.
- DB server doesn't accept TCP/IP connections.
- DB server has run out of connections.
- Something in between Java and DB is blocking connections, e.g. a firewall or proxy.
标签:jdbc,jdbc4,URL,DB,server,connections,failure,wrong,JDBC 来源: https://blog.51cto.com/u_12198094/2698044