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连接mysql数据库时报错com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException


下一篇:Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLDataException: '3.085409004E9' in column '