sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23764
[Question #242975]: How do I connect SikuliX IDE to MySQL using zxJDBC
New question #242975 on Sikuli:
https://answers.launchpad.net/sikuli/+question/242975
In the "Can I do X or Y or Z in Sikuli?" there is a bit about connecting sikuli to a database.
Anyway, my goal is to make the following script run:
from com.ziclix.python.sql import zxJDBC
db = zxJDBC.connect("jdbc:mysql//localhost/core", "mmsdev", "clar1838ity", "com.mysql.jdbc.Driver", CHARSET='iso_1')
I've copied the mysql-connector-java-3.1.14-bin.jar file into sikuli's libs directory.
I've added an entry to the classpath in the runIDE.cmd script
I've tried adding the classpath entry inside my sikuli script
In all cases, I get:
[error] zxJDBC.DatabaseError ( driver [com.mysql.jdbc.Driver] not found )
What do I need to do in order to make this work?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.