List:MySQL and Java« Previous MessageNext Message »
From:Roberto Moreno Date:July 8 1999 2:55pm
Subject:JDBC and Exception
View as plain text  
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@stripped



Thread
MySQL "Text" fields and mm.mysql driverCris Perdue7 Jul
  • Re: MySQL "Text" fields and mm.mysql driverMark Matthews7 Jul
    • JDBC and ExceptionRoberto Moreno8 Jul
Re: MySQL "Text" fields and mm.mysql driverCris Perdue7 Jul