Prev | Next |
Set up a PostgreSQL ODBC Driver
After you have created a PostgreSQL database, you will need to set up an ODBC DSN to the new database in order for Enterprise Architect to connect to it.
Prerequisites
Install:
- PostgreSQL DBMS and repository
- PostgreSQL ODBC driver software version 7.03.01.00 or above (note that versions 8.3.4, 8.4.1 and 9.03 of the PostgreSQL ODBC Driver are not supported)
Set up the ODBC driver
Your PostgreSQL driver is now available to connect to the repository from Enterprise Architect.
Step |
Action |
---|---|
1 |
Under both 32-bit and 64-bit operating systems, Enterprise Architect requires 32-bit ODBC drivers to connect to a repository through ODBC. You can quickly load the correct 32-bit ODBC Data Source Administrator by selecting the 'Configure > User Tools > ODBC Data Sources' ribbon option. The ODBC Data Source Administrator window displays. |
2 |
Click on the . The 'Create New Data Source' dialog displays, enabling you to add a new DSN. |
3 |
Select 'PostgreSQL UNICODE' from the list. |
4 |
Click on the . The 'Postgre SQL Connector/ODBC' dialog displays. |
5 |
Enter these configuration details:
|
6 |
To set the advanced options, click on the and set the options on 'Page 1' as shown: Note: From version 9.5.4 onwards some options shown in this image are no longer available and can be ignored. |
7 |
If you are using a version of PostgreSQL between 8 and 9.5.4, set the options on Page 2 as shown:
Note: From version 9.5.4 onwards the two options are no longer available and can be ignored. |
8 |
Click on the to complete the configuration. |