Re: mysql-connector-java-3.1.8 problem
- From: "Daniel Rohe" <daniel.rohe@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Apr 2005 21:20:38 +0200
Which Jar file do you use from Connector/J 3.1.8? There are two Jar files.
The first one (mysql-connector-java-3.1.8-bin-g.jar) uses the class Tracer
for tracing which is implemented as AspectJ aspect. Here I think you need
AspectJ in your classpath. The second one
(mysql-connector-java-3.1.8-bin.jar) doesn't contain this file and should
work without AspectJ in your classpath.
Daniel
"Paul Battersby" <batman42ca@xxxxxxxx> schrieb im Newsbeitrag
news:GbydnXuCM704y_ffRVn-qw@xxxxxxxxxxxxx
> "David Harper" <devnull@xxxxxxxxxxxxxxxxxxx> wrote in message
> news:RLlae.1856$wu2.1335@xxxxxxxxxxxxxxxxxxxxxxx
>
>> installed it on my Linux machine.
>> It worked just fine. It listed all of the databases, just as it should.
>
> Perhaps there is a difference because I'm using Win2000.
>
>> I *did* have to modify your test program slightly so that it would work
>> with my MySQL setup. Your test program had
>>
>> private static final String m_CONNECTION_STRING = "jdbc:mysql:///";
>>
>> which I changed to
>>
>> private static final String m_CONNECTION_STRING =
> "jdbc:mysql://localhost/";
>
> That change isn't necessary on my machine. It works the same with or
> without
> "localhost"
>
> The mystery remains. Thanks for your help though. I've seen other people
> with the same problem but I have yet to see anyone able to explain what is
> happening.
>
>
.
- Follow-Ups:
- Re: mysql-connector-java-3.1.8 problem
- From: David Harper
- Re: mysql-connector-java-3.1.8 problem
- From: Paul Battersby
- Re: mysql-connector-java-3.1.8 problem
- References:
- mysql-connector-java-3.1.8 problem
- From: Paul Battersby
- Re: mysql-connector-java-3.1.8 problem
- From: David Harper
- Re: mysql-connector-java-3.1.8 problem
- From: Paul Battersby
- Re: mysql-connector-java-3.1.8 problem
- From: David Harper
- Re: mysql-connector-java-3.1.8 problem
- From: Paul Battersby
- mysql-connector-java-3.1.8 problem
- Prev by Date: Re: mysql-connector-java-3.1.8 problem
- Next by Date: Re: mysql-connector-java-3.1.8 problem
- Previous by thread: Re: mysql-connector-java-3.1.8 problem
- Next by thread: Re: mysql-connector-java-3.1.8 problem
- Index(es):