Which version of MySQL are you using 4.1(alpha)?  I have had strange
issues on Linux vs. Windows.  I was running MySQL 4.1 on Linux.  I could
not for the love of anything connect using the jdbc driver on the Linux
VM, but could from a Windows workstation.  I revert MySQL to version 4.0
(release) and it worked like a champ for both.  No clue when MySQL is
going to be releasing 4.1 or testing that issue, but there definitely
seemed to be an issue.  I was getting unexpected end of stream errors
from the driver any time I tried to perform an an executeQuery
statement.

Wade

-----Original Message-----
From: Mark Lenz [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:11 PM
To: Tomcat Users List
Subject: RE: Connect to MySQL.



IMHO I wouldn't put the jar in your Java installation.  I would put it
in <CATALINA_HOME>/common/lib.

Mark Lenz
Software Engineer
Control Systems Group
Pierce Manufacturing, Inc.
(920) 832-3523
[EMAIL PROTECTED]


|---------+------------------------------->
|         |           "Wilson, Allen"     |
|         |           <[EMAIL PROTECTED]|
|         |           search.com>         |
|         |                               |
|         |           10/20/2003 08:58 AM |
|         |           Please respond to   |
|         |           "Tomcat Users List" |
|         |                               |
|---------+------------------------------->
 
>-----------------------------------------------------------------------
------------------------------------------------|
  |
|
  |       To:       "Tomcat Users List" <[EMAIL PROTECTED]>
|
  |       cc:
|
  |       Subject:  RE: Connect to MySQL.
|
 
>-----------------------------------------------------------------------
------------------------------------------------|




Are you trying to make the connection to MySQL as part of the tomcat
startup (Connection Pooling)? If so, I put the jar file in the
jre/lib/ext of my java installation.

Allen

-----Original Message-----
From: Nuno Paquete [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 7:16 AM
To: [EMAIL PROTECTED]
Subject: Connect to MySQL.


Hi everyone.
I'm having problems to connetc to MySQL.
I put the connector driver in the respective directory, like it's writen
in MySQL web site but i can connect. I think it's not a problem of
source code, i think it a problem with the driver. Does anyone can tell
me where should i put the driver? Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message may contain proprietary or confidential company
information. Any unauthorized use or disclosure is prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to