users@glassfish.java.net

Re: MySQL timeout problems

From: <glassfish_at_javadesktop.org>
Date: Fri, 28 Dec 2007 09:49:27 PST

Try using "autoReconnect".
In V2 this should be in list of additional property of the JDBC Connection Pool settings when you choose MySQL.

Otherwise u can define it also in URL:
jdbc:mysql://localhost:63306/MyDB?autoReconnect=true&...
[Message sent by forum member 'hammoud' (hammoud)]

http://forums.java.net/jive/thread.jspa?messageID=251631