You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mattias Carlehäll <mc...@fornby.fhsk.se> on 2003/03/26 15:40:12 UTC

Mysql Driver

Hi, when I run the mysql example on the jakarta.apache.org/tomcat site
I get the following error: Cannot load JDBC driver 
class 'org.gjt.mm.mysql.Driver'

Have I done something wrong or is there another driver I shall use?
If I type mysql -V it tells me I'v got the following version:
Ver 12.16 Distrib 4.0.8-gamma, for Win95/Win98 (i32)

/Regards Mattias


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Mysql Driver

Posted by Jerome Lacoste <la...@frisurf.no>.
Mattias Carlehäll wrote:

>Hi, when I run the mysql example on the jakarta.apache.org/tomcat site
>I get the following error: Cannot load JDBC driver 
>class 'org.gjt.mm.mysql.Driver'
>

mysql client/server and mysql driver are 2 different things. Do you have 
the mysql driver in your classpath?
In my case it is mm.mysql-2.0.14-bin.jar

If not download it from www.mysql.com and put it in a place where tomcat 
will find it.

J.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org