Difference between revisions of "Create ODBC source"

From IMSMA Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Under construction| Images missing}}
+
{{Note | In order to create an ODBC source the PostGreSQL driver has to be installed. The driver may be downloaded from [[Media:PGSQL_ODBC.zip | here]] and installation instructions may be found [[Installation ODBC driver | here]].}}
In order to create an ODBC source the PostGreSQL driver has to be installed. The driver may be downloaded from [[Media:PGSQL_ODBC.zip | here]] and installation instructions may be found [[Installation ODBC driver | here]].
 
  
{{Note | The driver used is of 32 bits version and therefore the 32 bits ODBC manager on 64 bits computers should be used (C:\Windows\SysWOW64\odbcad32.exe)}}
+
Start the ODBC manager
# Start the ODBC manager
+
:*On a computer with 32 bits operating system, go to Control Panel, Administrative Tools and Data Sources (ODBC).
# Go to the System DSN tab
+
:*On a computer with 64 bits operating system, start C:\Windows\SysWOW64\odbcad32.exe
# Click on Add
+
 
# Select PostgreSQL driver XXX in the list
+
[[Image:ODBC Source1.png|400px|center]]
# Click on Finish button
+
<div align="center">
 +
'' Go to System DSN tab and click on Add''
 +
</div>
 +
 
 +
[[Image:ODBC Source2.png|400px|center]]
 +
<div align="center">
 +
'' Select PostgreSQL Unicode driver and click on Finish button''
 +
</div>
 +
 
 +
[[Image:ODBC Source3.png|400px|center]]
 
# Give the ODBC data source a good descriptive name
 
# Give the ODBC data source a good descriptive name
# Database = imsma OR staging
+
# Database = ''imsma'' OR ''staging''
# Server is localhost if the database is on your computer
+
# Server is ''localhost'' if the database is on your computer
# Port = 5432
+
# Port is normally 5432
# User name = imsma
+
# User name = ''imsma''
# Password = password
+
# Password = ''password''
 
+
# Test the connection
Test the connection
+
# Click on Save
 
{{NavBox Technical Notes}}
 
{{NavBox Technical Notes}}
 
[[Category:NAA]]
 
[[Category:NAA]]

Revision as of 16:08, 20 October 2014

Note.jpg In order to create an ODBC source the PostGreSQL driver has to be installed. The driver may be downloaded from here and installation instructions may be found here.

Start the ODBC manager

  • On a computer with 32 bits operating system, go to Control Panel, Administrative Tools and Data Sources (ODBC).
  • On a computer with 64 bits operating system, start C:\Windows\SysWOW64\odbcad32.exe
ODBC Source1.png

Go to System DSN tab and click on Add

ODBC Source2.png

Select PostgreSQL Unicode driver and click on Finish button

ODBC Source3.png
  1. Give the ODBC data source a good descriptive name
  2. Database = imsma OR staging
  3. Server is localhost if the database is on your computer
  4. Port is normally 5432
  5. User name = imsma
  6. Password = password
  7. Test the connection
  8. Click on Save