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", "xxx", "xxx", "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?
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 connect( "jdbc:mysql/ /localhost/ core", "xxx", "xxx", "com.mysql. jdbc.Driver" , CHARSET='iso_1')
db = zxJDBC.
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?