You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lauri Jutila <la...@jutila.net> on 2001/04/24 13:17:43 UTC

Howto Cocoon+MySQL?

Hello there,

I'm relatively new to XML/Cocoon world and I'm running a (working)
installation of Apache+Tomcat and Cocoon 1.8.2. Now that I've created
mandatory "Hello World" xml pages and other testings, I'm trying to get
Cocoon to fetch data from MySQL database.

I tried to load samples/esql.xml (after modifying the file for right
configuration) but it returns a page telling:

java.lang.RuntimeException: Error loading driver:
org.gjt.mm.mysql.Driver

I guess the problem is that it cannot find the driver. Where it should
be put? I have tried putting it to /<path-to-tomcat>/lib and
/<path-to-cocoon/WEB-INF/lib but no success.

Thanks in advance for any help.

Best regards,

--
Lauri Jutila
email> lauri@jutila.net


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>