>HI
>
>I'm using a mysql database to do some reporting.
>
>I seem to be having a problem with my data connection intermittently hanging up or freezing.
>
Are you opening and closing the connection between calls? Or are you trying to hold the same connection while the site is active? The normal way is to open/close them (which isn't as awful as it sounds - it just returns the connection to the pool). If you're attempting to hold the connection (in something like a static property) then it's possible the server is just disconnecting an inactive connection after a while.