Re: Confused About JDBC Driver

2002-01-26 Thread Mark Matthews

Shankar Unni wrote:

 That's right:

 Do the following in a temp directory:

 jar xvf mm.mysql-2.0.10-you-must-unjar-me.jar

 This will create a directory called mm.mysql-2.0.10. Inside that, you'll

 find a mm.mysql-2.0.10.jar file, which is what you need to put in your

 classpath (you can move that file wherever you like it).

 However, I recommend using version 2.0.8 for now, if you use BLOBs a lot -

 2.0.10 has a subtle BLOB reading bug that causes queries to throw

 IOExceptions with certain values.

 You can get all the old back-versions from

 http://sourceforge.net/project/showfiles.php?group_id=15923



Or download version 2.0.11 released today which fixes that bug (as far as I
can tell):

http://prdownloads.sourceforge.net/mmmysql/mm.mysql-2.0.11-you-must-unjar-me
.jar

-Mark





-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Confused About JDBC Driver

2002-01-26 Thread Shankar Unni

[database,sql,query,table]

Mark Matthews wrote:

  Or download version 2.0.11 released today which fixes that bug (as far as
  I can tell):

Absolutely. Quick work, indeed. I've already switched over to 2.0.11 and
it's been smooth.

Thanks for the fantastic support!
--
Shankar.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Confused About JDBC Driver

2002-01-25 Thread Rahadul Kabir


I'm a bit confused here. can some please tell me what is the difference
between this two files

-- mm.mysql.jdbc-1.2c.tar.gz  ( Includes mysql_comp.jar  and
mysql_uncomp.jar)
-- mm.mysql-2.0.10-you-must-unjar-me.jar

For JDBC driver to run with mysql which one do I need? I thought you
only need .jar file. then whats the mm.mysql.jdbc-1.2c.tar.gz
file for. Are they the same files???
thanks so much.

--rahad


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Confused About JDBC Driver

2002-01-25 Thread Paul DuBois

At 16:59 -0500 1/25/02, Rahadul Kabir wrote:
I'm a bit confused here. can some please tell me what is the difference
between this two files

-- mm.mysql.jdbc-1.2c.tar.gz  ( Includes mysql_comp.jar  and
mysql_uncomp.jar)
-- mm.mysql-2.0.10-you-must-unjar-me.jar

For JDBC driver to run with mysql which one do I need? I thought you
only need .jar file. then whats the mm.mysql.jdbc-1.2c.tar.gz
file for. Are they the same files???
thanks so much.

I think that MM.MySQL used to be packaged as a tar file, but not is distributed
as a JAR.  Use the newer one, you'll be better off.  And do as the filename
indicates: un-jar it.  You'll end up with a directory that contains the
actual driver file plus a bunch of other stuff like the source code.
Put the driver JAR file (mm.mysql-2.0.10) in your CLASSPATH.  If you're
using it with Tomcat, put it in the appropriate directory, depending on
whether you want your applications, Tomcat, or both to be able to access
it.

--rahad


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Confused About JDBC Driver

2002-01-25 Thread Paul DuBois

At 16:11 -0600 1/25/02, Paul DuBois wrote:
At 16:59 -0500 1/25/02, Rahadul Kabir wrote:
I'm a bit confused here. can some please tell me what is the difference
between this two files

-- mm.mysql.jdbc-1.2c.tar.gz  ( Includes mysql_comp.jar  and
mysql_uncomp.jar)
-- mm.mysql-2.0.10-you-must-unjar-me.jar

For JDBC driver to run with mysql which one do I need? I thought you
only need .jar file. then whats the mm.mysql.jdbc-1.2c.tar.gz
file for. Are they the same files???
thanks so much.

I think that MM.MySQL used to be packaged as a tar file, but not is

Oops:  should be ... but NOW is distributed...

distributed
as a JAR.  Use the newer one, you'll be better off.  And do as the filename
indicates: un-jar it.  You'll end up with a directory that contains the
actual driver file plus a bunch of other stuff like the source code.
Put the driver JAR file (mm.mysql-2.0.10) in your CLASSPATH.  If you're
using it with Tomcat, put it in the appropriate directory, depending on
whether you want your applications, Tomcat, or both to be able to access
it.

--rahad


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Confused About JDBC Driver

2002-01-25 Thread Shankar Unni

Paul DuBois wrote:

 I think that MM.MySQL used to be packaged as a tar file, but not is 
 distributed
 as a JAR.  Use the newer one, you'll be better off.  And do as the filename
 indicates: un-jar it.  You'll end up with a directory that contains the
 actual driver file plus a bunch of other stuff like the source code.
 Put the driver JAR file (mm.mysql-2.0.10) in your CLASSPATH.  


That's right:

Do the following in a temp directory:

jar xvf mm.mysql-2.0.10-you-must-unjar-me.jar

This will create a directory called mm.mysql-2.0.10. Inside that, you'll 
find a mm.mysql-2.0.10.jar file, which is what you need to put in your 
classpath (you can move that file wherever you like it).

However, I recommend using version 2.0.8 for now, if you use BLOBs a lot - 
2.0.10 has a subtle BLOB reading bug that causes queries to throw 
IOExceptions with certain values.

You can get all the old back-versions from 
http://sourceforge.net/project/showfiles.php?group_id=15923
--
Shankar.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php