uja*_*ava 21 java mysql hibernate
问题是什么?无法连接数据库?
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
Run Code Online (Sandbox Code Playgroud)
Buh*_*ndi 22
这是问题的真正原因:
引起:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:通信链路故障
您有数据库通信链接问题.确保您的应用程序具有对数据库的网络访问权限(并且防火墙不会阻止数据库的端口).
| 归档时间: |
|
| 查看次数: |
175410 次 |
| 最近记录: |