File:Connect flysafe.doc

From ecology
Jump to: navigation, search
Connect_flysafe.doc(file size: 49 KB, MIME type: application/msword)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

How to connect to the Flysafe database

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current11:49, 6 May 2008 (49 KB)Bart (talk | contribs) <!-- Connecting to the FlySafe database via Access or other relational database programs Judy Shamoun-Baranes Last updated: December 11, 2007 General Information The Flysafe database is a spatial postgreSQL (http://www.postgresql.org/). PGAdmin can be used to browse and query data. If you use pgadmin you do not need to set up an ODBC connection. Database can also be called from other programs by installing an ODBC driver for postgreSQL and establishing a "User Data Source" http://www.postgresql.org/ftp/odbc/versions/msi/ In order to access the database your IP address must be sent to Bart Heupers who will provide a user name and password. For organizations an IP range can also be given. Flysafe server information server : flysafe-pps.grid.sara.nl port 5432 ssl required The tracking data can be found in schema "gps". However these instructions can be followed for any of the data included in the flysafe database. Setting up an ODBC connection ODBC (Open Database connectivity) is a standard method of sharing data between databases and other programs. ODBC drivers use SQL to gain access to data from sources outside the program. Therefore, in order to connect between your database and other programs you must set up an ODBC connection. Step 1: Download and install an ODBC driver for postgreSQL. http://www.postgresql.org/ftp/odbc/versions/msi/ Step 2: Set up ODBC connection Do the following: 1. go to start | Control panel | Administrative tools | Data sources (ODBC) 2. go to User DSN (first tab in Data sources) 3. click ADD 4. in window create new data source select PostgreSQL ANSI click FINSH 5. The ODBC Driver setup window opens. Data source name: give your data source a name (eg GPS). Keep it simple, easily identifiable, this is the name you will use to identify your database from other applications, this will be the ODBC driver name. 6. In the same window fill in the following information: database flysafe, Server flysafe-pps.grid.sara.nl, User Name your user name, SSL Mode require, Port 5432, Password your password. When the window is completed click SAVE 7. Back in the User DSN window you should now see your ODBC driver you just named, click OK After completing these steps many other programs will now recognize your database and be able to communicate with it Connecting to Access You can now connect to the database via access. You have two options. One is to import the data, once this is done your database is not automatically updated but does not require a link to the database. The second option (described below) is to create a dynamic link to the database (you must be connected to the network) in this case you are always viewing data that is in the actual SARA database. 1. Open a new database in Access 2. go to file | Get external data | Link tables 3. in files of type select ODBC databases 4. in select data source click on tab Machine Data Source 5. select the data source name you created when setting up the ODBC connection (eg GPS) click OK 6. Select the tables you want to import click OK You now have access to your selected tables in the database. Have fun. --> <!-- -->
09:46, 29 April 2008 (49 KB)Bart (talk | contribs)How to connect to the Flysafe database
09:46, 29 April 2008 (49 KB)Bart (talk | contribs)How to connect to the Flysafe database
  • You cannot overwrite this file.

There are no pages that link to this file.