Jython connect to mysql, Driver not found error
I'm trying to connect Jython with mysql. I downloaded "zxJDBC.jar", "mm.mysql-2.0.4-bin.jar" and "mysql-connector-java-5.1.20-bin.jar", and set their path to CLASSPATH. 

In my Jython script, both 

    $from com.ziclix.python.sql import zxJDBC
    $from org.gjt.mm.mysql import Driver
passed. 

But when 

    $conn = zxJDBC.connect("jdbc:mysql://localhost/automobile2", "root", "nihaonlp", "org.gjt.mm.mysql.Driver")


The interpreter told me

    $zxJDBC.DatabaseError: driver [org.gjt.mm.mysql.Driver] not found


How to fix it?

h
Jython connect to mysql, Driver not found error
===

I'm trying to connect Jython with mysql. I downloaded "zxJDBC.jar", "mm.mysql-2.0.4-bin.jar" and "mysql-connector-java-5.1.20-bin.jar", and set their path to CLASSPATH. 

In my Jython script, both 

    $from com.ziclix.python.sql import zxJDBC
    $from org.gjt.mm.mysql import Driver
passed. 

But when 

    $conn = zxJDBC.connect("jdbc:mysql://localhost/automobile2", "root", "nihaonlp", "org.gjt.mm.mysql.Driver")


The interpreter told me

    $zxJDBC.DatabaseError: driver [org.gjt.mm.mysql.Driver] not found


How to fix it?

h