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 have the latest version of MySQL and NetBeans installed on my system. I also have the iODBC driver manager installed. I need help with installing an ODBC driver and creating a DSN for my JSP project. I know how to create and configure a DSN under Windows. But I can't figure out how to do this under Ubuntu. Neither am I able to install an ODBC driver. How to do these?

share|improve this question
Why would you want an ODBC for a database you can interact with directly and natively? Use Connector/J for a direct connection. That would be better in every single way. – Oli Oct 2 '13 at 11:36
@Oli: How do I do that? Please guide me. – user152748 Oct 2 '13 at 11:46
up vote 0 down vote accepted

I realized that it was easier to use MySQL Connector/J for the connection as @Oli described.

share|improve this answer

Your Answer


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