tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianluca Gravina" <g_grav...@virgilio.it>
Subject R: what is needed to connect to mysql
Date Thu, 02 May 2002 09:31:15 GMT


> -----Messaggio originale-----
> Da: # Lalit Nagpal # [mailto:lalit_tomcat@yahoo.com] 
> Inviato: giovedì 2 maggio 2002 11.09
> A: tomcat-user@jakarta.apache.org
> Oggetto: what is needed to connect to mysql
> 
> 
> 
> hello,
> 
> plz can anybody tell me how to connect to a mysql database 
> through a servlet. i know how to prepare a connection etc 
> through code but what other settings are needed. i am using 
> tomcat 4 as a standalone.
> 
> The error i get is "Class not found org.gjt.mm.mysql.Driver"
> 
> plz help ... 
> 

Put your jdbc driver for mysql in your {webapp}/WEB-INF/lib/folder ...
It should work!

Bye, Grava



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message