8 messages in com.mysql.lists.javaRE: Timing out| From | Sent On | Attachments |
|---|---|---|
| Emily Johnson | 20 Feb 2002 12:03 | |
| Taglang, Guillaume | 20 Feb 2002 15:22 | |
| Emily Johnson | 22 Feb 2002 13:48 | |
| Javier Bolaños Molina | 22 Feb 2002 14:21 | |
| lee | 22 Feb 2002 14:43 | |
| Emily Johnson | 22 Feb 2002 15:04 | |
| Emily Johnson | 22 Feb 2002 15:10 | |
| Mark Matthews | 23 Feb 2002 06:52 |
| Subject: | RE: Timing out![]() |
|---|---|
| From: | Emily Johnson (emil...@yahoo.com) |
| Date: | 02/22/2002 03:04:44 PM |
| List: | com.mysql.lists.java |
Lee!!
Super COOL!! ;D setLoginTimeout() does exists... funny thing, I did not see that in the manual. My very bad if it is in the manual. Now I got to try out to see if it is going to solve the problem. Thank you all again.
Emily J
--- lee <le...@firstsql.com> wrote:
At 01:49 PM 2/22/02 -0800, you wrote:
Hi Tagland,
Thank you for taking the time to answer my questions. However... I find that the process got hung up at
con = DriverManager.getConnection("jdbc:mysql://" + hostname + "/" + dbname + "?user=" + USERNAME + "&password=" + PASSWORD);
Are there any ways to set a time out for the above task?
Try DriverManager.setLoginTimeout() before the getConnection(). I don't know if it works with the mm jdbc driver, but it does with our MyJdbc Driver (http://www.firstsql.com/java/mysql/).
-- Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here! * FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
---------------------------------------------------------------------
Please check
"http://www.mysql.com/Manual_chapter/manual_toc.html"
before posting. To request this thread, e-mail java...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java...@lists.mysql.com instead.
__________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com




