Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Prerequisites documentation #1

Open
MPParsley opened this issue Oct 4, 2023 · 1 comment
Open

Question: Prerequisites documentation #1

MPParsley opened this issue Oct 4, 2023 · 1 comment

Comments

@MPParsley
Copy link

Thank you very much for this valuable component.

Are there any other prerequisites besides the python libraries mentioned and a default VOS setup that provides the odbc on port 1111?

It might be useful to have a devcontainer running Virtuoso to run the examples, or any steps that are needed within Virtuoso to configure the user/password (although looking at the example DSN I assume the default username/password are used).

@HughWilliams
Copy link

In addition to the python libs you also need to have unixODBC used by pyodbc to make the ODBC connection to the Virtuoso database.

The SPASQL examples can be tested using our Live Demo Virtuoso instance where the necessary Northwind database tables and views are already in place and is accessible via SQL on Address demo.openlinksw.com:21118 , to a database name Demo , with readonly access to username/password of demo/demo. Thus an ODBC DSN of the following form is required:

[VOS]
Driver  = /opt/virtuoso/lib/virtodbcu_r.so 
Address = demo.openlinksw.com:21118
Username = demo
Password = demo
Database = Demo
WideAsUtf16 = Y

Note the WideAsUtf16 = Y is required for use with unixODBC ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants