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
.
本文介绍了在使用NetBeans 6.5进行Java编程时遇到的MySQL数据库连接失败问题及解决方案。错误提示为“com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure”。文章提供了检查MySQL服务是否正常运行的方法,并指导如何启动服务。
1万+

被折叠的 条评论
为什么被折叠?



