Can't access mySQL

0

Hello all,

I am trying to work with studio and mysql.

It seems that all attempts to connect to the databse return this error:

ClassNotFoundException: com.mysql.jdbc.Driver

I am also using iReport 4.1.1 which is working fine with the same database.
It is a local mysql database, 64bit, on windows 7.
iason's picture
2
Joined: Sep 2 2011 - 4:37am
Last seen: 6 years 5 months ago

2 Answers:

0

SOLVED (partially)

For some reason the jdbc jar file is being deleted from the driver classpath.

Can I overcome this by adding it by default? I tried adding the jar to the classpath environment variable with no luck.

 

iason's picture
2
Joined: Sep 2 2011 - 4:37am
Last seen: 6 years 5 months ago
0

 did you added the driver to the query manager when you created the new connection? I have mine working, but can't preview the reports now. I had to stop working with it to try other parts of my project at work. But if you have a question, just reply back and send you a couple screenshots of what I did.

pjamrisk's picture
Joined: May 3 2008 - 6:54am
Last seen: 11 years 5 months ago
Feedback
randomness