MySQL异常:nysql-nt.exe-应用程序错误

程序是用jdbc操作mysql,不知道弄错哪里,mysql突然不好使,程序里报出的错误信息如下:
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1905)
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:483)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:965)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2558)
at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at littleworld.YoukuVideoInfoParse.dbExecute(YoukuVideoInfoParse.java:375)
at littleworld.YoukuVideoInfoParse.parseSingle(YoukuVideoInfoParse.java:336)
at littleworld.YoukuVideoInfoParse.parse(YoukuVideoInfoParse.java:46)
at littleworld.YoukuVideoInfoParse.main(YoukuVideoInfoParse.java:31)


** END NESTED EXCEPTION **


调试报出的错误是:
nysql-nt.exe-应用程序错误
0x0059002b指令引用的0x00fd1000内存,该内存不能为“read”


上网查了挺多,也没有实际的解决办法,自己对mysql掌握不是很深,希望有遇到此问题的前辈能指点一下,谢谢谢谢!

你可能感兴趣的:(java,sql,mysql,jdbc)