How to access MySQL database?
I want my Sikuli app to be able to connect to a MySQL database. What options do I have?
I did a search for "jython mysql" on Google and turned up a an sql module from the java module. I'm not sure if it exists and if it does why it isn't working.
I was told to do this to import and invoke the sql connector, but it's throwing a "Class not defined" error so I'm not sure if the java module even has sql capability. The code I ran was this:
from java.lang import *
from java.sql import *
driverName=
Class.forName(
From the Sikuli interpreter I got this:
"NameError: name 'Class' is not defined"
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Raymond for more information if necessary.