Richard,
In your context file change
userName=ltojsw
to
username=ltojsw
(and of course change your passwd now that it's on the 'net ;-)
This is why you see the error:
Access denied for user ''@'kingfishS11'
I just tried to find some docs to make sure I'm right but I can't see
anything under
Tom, thanks - finally figured out the username error. And thanks on
the password. - Richard
Tom A wrote:
Richard,
In your context file change
userName=ltojsw
to
username=ltojsw
(and of course change your passwd now that it's on the 'net ;-)
This is why you see the error:
Access
PROTECTED]
Sent: Sunday, February 20, 2005 10:43 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what
changed?
Wel we did the same to upgrade our product all went wel except for the
connector. Then after some research I found that
mysql-connector-java-3.1.6
,SCWCD SCBCD Sun Microsystems, Inc.
Brain Bench Certified Java Programmer.
-Original Message-
From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: 21 February, 2005 6:16 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what
changed?
Shakeel
works in
Tomcat 5.0.19, but not in Tomcat 5.5.7.
Thanks - Richard
-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 6:39 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what
changed?
Try to hard code
Sorry to repost - but, except for some great suggestions from Shakeel, I
have not made much progress on this. To my way of thinking this seems
maddenly simple - either a config error or possibly bug. But what?
So my first place to start is to try and see where it is that the
userName property get
OK, yes it turned out to be one of those dumb configuration errors -
BUT also a difference in how Tomcat 5.5.7 (or maybe is is Commons DBCP
1.2.1) behaves under Windows versus Linux.
I had camelcased the username property in the context.xml Resource
tag as userName. This worked under Windows,
Have you changed the corresponding mysql connector jar file ?
Best Regards,
S H A K E E L A H M A D
http://members.fortunecity.com/javaclub/shakeel.htm
Voice: 00923002723316
Senior Software Engineer.
NorthStar Technologies. www.globalnorthstar.com
EE(Computer Engineering), UET Lahore,
Users List
Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what
changed?
Have you changed the corresponding mysql connector jar file ?
-Original Message-
From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: 21 February, 2005 7:53 AM
To: tomcat-user@jakarta.apache.org
.
Brain Bench Certified Java Programmer.
-Original Message-
From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: 21 February, 2005 10:24 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what
changed?
Actually I tried MySQL Connector/J 3.0.15
10 matches
Mail list logo