当前位置: 代码迷 >> Java Web开发 >> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
  详细解决方案

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

热度:873   发布时间:2012-06-14 18:20:50.0
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
出现这样的问题 怎么办啊
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The driver was unable to create a connection due to an inability to establish the client portion of a socket.

This is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable.

For Unix-based platforms, see the manual page for the 'ulimit' command. Kernel or system reconfiguration may also be required.
搜索更多相关主题的帖子: command  required  imposed  usually  

----------------解决方案--------------------------------------------------------
换一个mysql驱动试试,可能与你的mysql不匹配。
----------------解决方案--------------------------------------------------------
  相关解决方案