List:MySQL and Java« Previous MessageNext Message »
From:LAFONTAINE Julien - LYO (jlafontaine@lyon-partdieu.sema.slb.com) Date:February 12 2003 5:58pm
Subject:RE: Questions about connection and timeout with Connector/J
View as plain text  
Oups yes I meant connector 2.0.13 and MySQL 3.23.49 :)

My java program is connecting a MySQL server running on the same computer
(an AIX server).
So I guess the problem is somewhere else.

I'll keep investigating

Thanks a lot for your help Mark!

Julien



-----Message d'origine-----
De : Mark Matthews [mailto:mark@stripped]
Envoyé : mercredi 12 février 2003 16:20
À : LAFONTAINE Julien - LYO (jlafontaine@stripped)
Cc : java@stripped
Objet : Re: Questions about connection and timeout with Connector/J


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

LAFONTAINE Julien - LYO (jlafontaine@stripped) wrote:
> Thanks for your answer Mark, and sorry for not checking the readme file
> before.
> 
> But would it be possible that the connection is closed (or lost) if left
> unused for only a few minutes (and not 8 hours or what else is specified
by
> wait_timeout or interactive_timeout)
> I'm using Connector/J 2.13 and MySQL 2.23.49 but I haven't seen anything
> about a bug that could cause that in the change log
> of MySQL and Connector/J.

I suppose you mean Connector/J 2.0.14 and MySQL 3.23.49 :)

The only other times I've seen something like this happen is when your 
database connection is through a firewall, or you have a flakey network 
component. Are you connecting to 'localhost', or are you connecting to 
some server other than the one your Java program is running on? What is 
the network topology between the two?

	-Mark



- -- 
MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/

For technical support contracts, visit https://order.mysql.com/?ref=mmma

     __  ___     ___ ____  __
    /  |/  /_ __/ __/ __ \/ /  Mark Matthews <mark@stripped>
   / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java
  /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
         <___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+SnQptvXNTca6JD8RAmdjAKC0YjfBnTC4m0oujPU7BcNXz35+5QCglHM6
M0xThu1EdwGsliad47QpwRY=
=bKDk
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/doc/         (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <java-thread5033@stripped>
To unsubscribe, e-mail
<java-unsubscribe-jlafontaine=lyon-partdieu.sema.slb.com@stripped>
Thread
Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
  • Re: Questions about connection and timeout with Connector/JMark Matthews12 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
  • Re: Questions about connection and timeout with Connector/JMark Matthews12 Feb
  • Re: Questions about connection and timeout with Connector/JFrank Gates12 Feb
  • Re: Questions about connection and timeout with Connector/JChristopher Taylor13 Feb
    • JDBC driver?Shivani17 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
Re: Questions about connection and timeout with Connector/JFrank Gates12 Feb
Re: JDBC driver?Alec.Cawley17 Feb
  • RE: JDBC driver?Shivan18 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)26 Feb