• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to catch exception corresponding to lost connection to mysql server using jdbc  RSS feed

 
vikas byn
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which exception is generated corresponding to "ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0" using jdbc
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't there any stacktrace for that error message?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!