Re: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
"Christopher G. Stach II" <[email protected]> Sat, 26 May 2007 16:37:15 -0300
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
Andreas Andersson wrote: > Before handing out a connection we test it with "select now();" and if > that throws an exception we create a new connection instead. This error > occurs in the creation phase and no query is in use yet when this happens. > Ah, yes. It's going via createNewIO. You wrote your own pool? :) It looks like the server might be closing the connection during/right after authentication. I haven't looked that closely, though. -- Christopher G. Stach II -- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/[email protected]