[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-java
Subject: JDBC and Exception
From: "Roberto Moreno" <moreno () netmogi ! com ! br>
Date: 1999-07-08 14:55:06
[Download RAW message or body]
In my applet the follow Exception message show me:
"myDriver.ClassName"
Whats wrong?
My code is :
public Usuario()throws ClassNotFoundException, SQLException,
InstantiationException, IllegalAccessException
{
String url = "jdbc:mysql://pluto.netmogi.com.br:3306/java/";
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con = DriverManager.getConnection(url, "myuser", "password");
stmt = con.createStatement();
}
PS. My driver is - mm.mysql.Driver
And the permission for JDBC Driver directory in Linux Sistems is allright.
What I have to do?
Thanks for your atentions
Roberto
moreno@netmogi.com.br
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail java-thread180@lists.mysql.com
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-unsubscribe@lists.mysql.com instead.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic