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 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:

iodbcadm-gtk

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
add comment

1 Answer

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 "127.0.0.1" 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
add comment

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.