Add ODBC driver for PostgreSQL in Ubuntu

Source: Internet
Author: User
Refer to Region. Come on, or is Windows a little easier to use? Isn't it a challenge? First, install PostgreSQL, refer to http://www.linuxidc.co

Refer to http://www.linuxidc.com/linux/2009-03/18715.htmto complete the mysql‑odbc driver.

Because the task needs to use PostgreSQL and experiment DTL, we need to build an ODBC development environment on the Ubuntu development machine. Come on, or is Windows a little easier to use? Isn't it a challenge?

First, install PostgreSQL, refer to http://www.linuxidc.com/Linux/2010-09/28362.htm

Then, install PostgreSQL ODBC driver development:

Sudo apt-get install odbc-postgresql

Then, install graphical ODBC graphical setting tool iodbc management tool, iodbc is a good project AH (Mao Xinyu if it doesn't know how to say so) Interested can refer to: http://www.iodbc.org/

Download the iodbc management tool of gtk. You can search odbc in the ubuntu Software Center and find the iodbc driver manager, as shown in:


Of course, this tool can also be installed as follows through apt-get (the landlord is very anxious to use apt in the company, apt can not be found on his computer, think of ubuntu Software Center, although the functions of the new package manager and the ubuntu Software Center are a bit repetitive, they are still very useful ):

  1. Sudo apt-get install iodbcadm-gtk

Next, we start the gtk tool of iodbc. Of course, we can start it through the terminal:

  1. Sudo iodbcadm-gtk

However, the landlord is relatively lazy. Otherwise, he will lose the above command every time. Although he can drop a few words in the table, it is better to click it easily. Therefore, a menu item is created in the menu bar. The executable file installed in the Software Center is/usr/bin. Add the project, as shown in:


The following figure shows the gtk graphical iodbc, which is very similar to windows.


Windows:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.