The message was rejected with the attachment. Here it is without the
attachment.
-----Original Message-----
From: Matthew Dahlman [mailto:mda...@ja...]
Sent: Monday, 03 September, 2007 21:41
To: 'Lachlan Pollock'
Cc: 'squ...@li...'
Subject: RE: [Squirrel-sql-users] DB Plugins not loading
Hi Lachlan,
plugins/mysql.jar is the SQuirreL plugin for MySQL. It isn't a JDBC
driver.
Assuming our mail systems let the attachment through, I've attached a
MySQL JDBC driver. It's backwards compatible, so even if your version of
MySQL is older it should be fine.
If the email servers eat it, then it should be easy enough to find some
version of mysql-connector-java-5.0.5-bin.jar either already on your
machine or else downloadable.
Regards,
Matt
-----Original Message-----
From: Lachlan Pollock [mailto:lac...@un...]
Sent: Monday, 03 September, 2007 19:33
To: Matthew Dahlman
Cc: squ...@li...
Subject: Re: [Squirrel-sql-users] DB Plugins not loading
Hi again,
Thanks for the advice, Matt. I have checked that the path in the
SQLDriver.xml is right.
The error from the logs shows that it finds the MySql.jar and opens it,
<snip>
74058 [AWT-EventQueue-1] ERROR
net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager - Unable to find
Driver Class com.mysql.jdbc.Driver for JDBC driver MySQL Driver; jar
filenames = [ /home/pollockl/squirrel-sql/plugins/mysql.jar ]
74063 [AWT-EventQueue-1] ERROR
net.sourceforge.squirrel_sql.client.gui.db.DataCache - Could not find
class com.mysql.jdbc.Driver in neither the Java class path nor the Extra
class path of the MySQL Driver driver definition:
</snip>
None of the drivers seem to work.
I don't know java really well, but it looks like the class is not properly
defined in the .jar file? Is it something about how class definitions are
made in different versions of java?
What is your java version?
Cheers
Lachlan
|