2 messages in com.mysql.lists.javaRE: Problems with the JDBC
FromSent OnAttachments
Carao M Duvelis A05 Sep 2001 11:34 
Paul Foxton06 Sep 2001 00:52 
Subject:RE: Problems with the JDBC
From:Paul Foxton (pa@network-sol.com)
Date:09/06/2001 12:52:41 AM
List:com.mysql.lists.java

Its probably a classpath problem

Have you set your classpath to point to the jar file?

shell > CLASSPATH=/path_to_jar/mysql_comp.jar:$CLASSPATH

Alternatively if you put the jar file in /path_to_java/jre/lib/ext, that'll work too.

Cheers,

Paul

-----Original Message----- From: Carao M Duvelis A [mailto:dca@tyto.ciens.ucv.ve] Sent: 05 September 2001 19:35 To: ja@lists.mysql.com Subject: Problems with the JDBC

Hello

I've already installed the mm.mysql.jdbc-1.0 in unix but I'm trying to connect whith the database from Java using :

Class.forName("org.gjt.mm.mysql.Driver"); Connection Conn =DriverManager.getConnection("jdbc:mysql://namehost/namedatabase"); Statement Stmt = Conn.createStatement();

but I have this error: Unable to load class org.gjt.mm.mysql.Driver

Duvelis

thank you

To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java@lists.mysql.com instead.