数据库
首页 > 数据库> > com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

作者:互联网

  1. IP address or hostname in JDBC URL is wrong.   
  2. Hostname in JDBC URL is not recognized by local DNS server.
  3. Port number is missing or wrong in JDBC URL.
  4. DB server is down.
  5. DB server doesn't accept TCP/IP connections.
  6. DB server has run out of connections.
  7. 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