RE: Connect to MySQL.
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 /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]
RE: Connect to MySQL.
IMHO I wouldn't put the jar in your Java installation. I would put it in /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]
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]
RE: Connect to MySQL.
Hey there, I am quite a newbie, but I have just gone through the process of setting up MySQL (4.0.15, I think) for Tomcat (4.1.27). I used the mysql-connector-java-3.0.9-stable-bin.jar from MySQL.com, and put this in the common/lib directory of Tomcat. I can post up the contents of the server.xml and web.xml, but I pretty much just followed the Jakarta tutorials at. Hope this helps, Stephen -Original Message- From: Nuno Paquete [mailto:[EMAIL PROTECTED] Sent: 20 October 2003 13:16 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connect to MySQL.
The driver should go into your WEB-INF/lib directory. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za :: -Original Message- :: From: Nuno Paquete [mailto:[EMAIL PROTECTED] :: Sent: Monday, October 20, 2003 2:16 PM :: 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]