I use that option on all my apps, I've not seen any problems using it and it does eliminate the stale connections issue with MySQL. I think the default stale connection timeout is 8 hours.

I was thinking that this was no longer an issue in more recent versions of MySQL, but I could be wrong about that. I use the option anyway so I don't know for sure if it's necessary in MySQL >= 5.0.

On Oct 20, 2008, at 3:17 PM, Greg Smith wrote:

I seem to be getting exceptions when trying to save to a MySQL table. It happens only occasionally and the log indicates I should turn autoReconnect=true. Does anyone know if this will cause other problems with EOF? Is there a better way? Thanks.

I am now using this in the model:
jdbc:mysql://localhost/MyDBname?autoReconnect=true

Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/robert.walker% 40bennettig.com

This email sent to [EMAIL PROTECTED]

Robert Walker
Bennett Technology Group
[EMAIL PROTECTED]
(770) 957-1866 790

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to