zxJDBC driver error

Pieter Claerhout Pieter.Claerhout at Creo.com
Wed Mar 24 10:31:06 EST 2004


Are you sure the jar file with the mysql JDBC classes is in your classpath?

cheers,

pieter 

Come and visit us at Drupa!
Hall 4 Stand B10

Creo EMEA S.A.
pieter claerhout | product support prinergy | tel: +32 2 352 2511 |
pieter.claerhout at creo.com | www.creo.com

IMAGINE CREATE BELIEVE(tm)

-----Original Message-----
From: python-list-bounces+pieter.claerhout=creo.com at python.org
[mailto:python-list-bounces+pieter.claerhout=creo.com at python.org] On Behalf
Of vincent Salaun
Sent: 24 March 2004 16:15
To: python-list at python.org
Subject: zxJDBC driver error

    hi all,

i'm trying to use the zxJDBC module to work on my mySql database, but :
 >>> from com.ziclix.python.sql import zxJDBC
 >>> d, u, p, v = "jdbc:mysql://localhost/test", "user", "pass", 
"org.gjt.mm.mysql.Driver"
 >>> db = zxJDBC.connect(d, u, p, v)

Traceback (innermost last):
  File "<string>", line 1, in ?
DatabaseError: driver not found

any idea ?

thx
vince

-- 
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list