Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to read mysql table data to an excel file. So I decide to install MyODBC in my Ubuntu 11.04 with these command lines:

sudo apt-get install iodbc

sudo apt-get install libmyodbc

I start the iODBC Driver Manager GTK+ frontend and config ODBC drivers look like in the picture:


enter image description here

Then I add a new USER DNS :

enter image description here

Try to login for DNS with User = root and Empty password give me this error :

enter image description here

I windows I can use ODBC without any problem.

What was I wrong and missing here? Please help!

Thanks in advance.

share|improve this question
up vote 0 down vote accepted

I've tried to connect to my database from Libre Calc and get the error :

enter image description here

So I changed the Server from "localhost" to "" and it ran well though error still occured when test connection in iODBC Management Frontend. It's weird, huh. But never mind :D

share|improve this answer

Your Answer


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.