zxJDBC driver error
Gerhard Häring
gh at ghaering.de
Wed Mar 24 10:31:53 EST 2004
vincent Salaun wrote:
> 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
Install the JDBC driver for MySQL.
-- Gerhard
More information about the Python-list
mailing list