I am having trouble connecting to our database using PyODBC. Code is below:
pyodbc.connect('Driver={Pervasive ODBC Client Interface};ServerName=GSSERVER;dbq=@wpiglobal;')
I get this error:
InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
According to the connectionstrings.com reference, I have the right string:
Driver={Pervasive ODBC Client Interface};ServerName=myServerAddress;dbq=@dbname;
I've also looked at pervasive's docs, which seem to say the same thing...
http://docs.actian.com/psql/psqlv11/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sqlref/odbc.08.03.html
What am I doing wrong here? We are on pervasive 11.