List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:March 27 2002 5:45am
Subject:Re: MySQL Connecyion error
View as plain text  
At 20:23 -0800 3/26/02, Foo Yong Choon wrote:
>i tried to catch the exception and recoonect to MySQL
>server and it
>dose not work, i also tried open and closing the
>connection only when i need it and that does not work
>too so i had to resort to not this alternative. anyway
>thanks fr your solution.. and how to make disable auto
>closing indefinately instead of setting the timeout
>value?

Catching the exception and reconnecting, or opening and
closing the connection only when you need it, are both
techniques that should work.  Sorry to say this, but it
really sounds as though your program has problems that
don't have all that much to do with the timeout behavior
of the MySQL server...

Thread
MySQL Connecyion errorFoo Yong Choon27 Mar
  • Re: MySQL Connecyion errorPaul DuBois27 Mar
  • Re: MySQL Connecyion errorDicky Wahyu Purnomo27 Mar
RE: MySQL Connecyion errorJoe Hoffman27 Mar
Re: MySQL Connecyion errorFoo Yong Choon27 Mar
  • Re: MySQL Connecyion errorPaul DuBois27 Mar
    • Re: MySQL Connection errorFoo Yong Choon27 Mar
      • Re: MySQL Connection errorMike Mangino27 Mar