Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm following this tutorial on Adding an ODBC driver to Ubuntu.

I installed iODBC and then I went to install libmyodbc and noticed that it uninstalled iODBC, and now I can't follow the rest of the tutorial...because either the driver is gone, or the GUI to install the driver is gone.

iodbcadm-gtk is part of the iODBC package but when libmyodbc is installed it removes the iODBC, rendering it useless.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Okay figured this out. I ended up installing just libmyodbc and configuring odbc using the /etc/odbc.ini file:

[ODBC Data Sources]
odbcname = MyODBC 3.51 Driver DSN

[the_db]
Driver = /usr/lib/i386-linux-gnu/odbc/libmyodbc.so
Description = The Database using MyODBC 3.51 Driver DSN
SERVER = localhost
PORT =
USER = root
Password = someOldPassword
Database = the_db
OPTION = 3
SOCKET =

It works great!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.