com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
http://netbeans-org.1045718.n5.nabble.com/com-mysql-jdbc-exceptions-jdbc4-CommunicationsException-Communications-link-failure-td2950072.html
It sounds like MySQL
server isn't running.
If you are using Windows, make sure mysqld
-nt.exe
is running. You can use Task Manager to see if the service is running
and Control Panel's Administrative Tools|Services dialog to start the
service if it is not. On my computer
the service name is MySQL
.
如果您觉得不错,欢迎扫码支持下。
作者:许强1. 本博客中的文章均是个人在学习和项目开发中总结。其中难免存在不足之处 ,欢迎留言指正。 2. 本文版权归作者和博客园共有,转载时,请保留本文链接。