Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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
Marshal
Pie
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic