For anybody who can't connect to virtuoso via isql on ubuntu (ie getting
the following error)

# isql localhost:1111 dba pass
[ISQL]ERROR: Could not SQLConnect

here's how to sort it..


install iodbc:
# apt-get install iodbc


create a dsn connection:
# nano /etc/odbc.ini


enter the following (where the path to driver is the path to your
virtodbc.so driver):
[LocalVirt]
Driver          = /usr/local/virtuoso-opensource/lib/virtodbc.so
Address         = localhost:1111


install the new dsn
# odbcinst -i -s -l -f /etc/odbc.ini


and now you can connect using the dsn
# isql LocalVirt dba pass
Connected!


[one for the archive]

regards!

Reply via email to