sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33955
Re: [Question #269719]: sikuli connect postgre database
Question #269719 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269719
kiyo gave more information on the question:
i have try the method you said ,idownload zxJDBC
jar and put it into my project,and i also
set the jar as classpath
my code:
import sys
from com.ziclix.python.sql import zxJDBC
connection1 = zxJDBC.connect('jdbc:odbc:test_odbc', 'postgres', 'postgres', 'sun.jdbc.odbc.JdbcOdbcDriver')
print "JDBC:ODBC connection set"
connection2 = zxJDBC.connect('jdbc:postgresql://127.0.0.1/test?stringtype=unspecified', 'postgres', 'postgres', 'org.postgresql.Driver')
print "JDBC native connection set"
log
connection1 = zxJDBC.connect('jdbc:odbc:test_odbc', 'postgres', 'postgres', 'sun.jdbc.odbc.JdbcOdbcDriver')
zxJDBC.DatabaseError: driver [sun.jdbc.odbc.JdbcOdbcDriver] not found
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.