Question #697555 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697555

Description changed to:
Hi, I have connected to a DB in Sikuli before the 2.X versions. In the 2.0.5 
version, I can no longer get my scripts to connect to the DB.  For reference, 
the issue I get is similar to this: 
https://answers.launchpad.net/sikuli/+question/202408
I have tried changing the classpath via launching Sikuli using cmd files as is 
suggested in that question, this has not solved the issue.
I have used zxJDBC.jar for connecting.

Is there a standard way people have been able to connect to DB in the
2.0.5 version? I can't find anything that helps but I could easily be
looking in the wrong places.

Any help/suggestions appreciated. I will include below a snippet of how
I have connected to DB in the past.


from com.ziclix.python.sql import zxJDBC
connection = zxJDBC.connect(DB URL, Username, 
Password,'com.microsoft.sqlserver.jdbc.SQLServerDriver')
cursor = connection.cursor()


Thank you.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to