MSingleton-esristaff

Easy Connect - Connecting to ArcSDE just got easier!

Blog Post created by MSingleton-esristaff Employee on Oct 10, 2012
A lot of changes were made at ArcGIS for Desktop 10.1 regarding database connections within the client software. The ‘Add Spatial Database Connection’ dialog is renamed to  ‘Add Database Connection’, and new functionality is added, allowing connections to enterprise geodatabases and other supported databases.

At the 10.1 release, we introduced support for the Oracle Easy Connect string when making these connections. This is a simpler Oracle naming method connect string that you can use within the Instance parameter of your Database Connection properties. The Easy Connect naming method eliminates the need for service name lookups in the tnsnames.ora file for TCP/IP environments.  No naming or directory systems are required if you use this method.



The Oracle Instant Client is a lightweight manual install. You can obtain the Oracle Instant, Runtime, or Administrator Client from Oracle and install the client on the client computer, following the directions in your Oracle documentation. It is comprised of the minimum required files necessary for making database connections using an Esri Client; however, it does not contain any executables or configuration/migration tools.

The setup process is quick:
  1. Unzip the downloaded contents into a directory.
  2. Add the location of the Oracle Instant Client directory within the system path environment variable.
    1. Example: c:appinstantclient_11_2
  3. Test out a new database connection in ArcCatalog.
    1. You can also test the connection in the Catalog window in ArcMap.

TIPS:

  • For making database connections within ArcGIS for Desktop, use the 32-bit Oracle Instant Client.
  • For using the Easy Connect string with other Oracle clients, make sure the sqlnet.ora file has EZCONNECT specified within the NAMES.DIRECTORY_PATH parameter (the Instant Client does not include this file by default).
  • Make sure the database instance is configured for EZCONNECT.
oracleeasyconnect.jpg

Making database and geodatabase connections at 10.1 just got a little easier - happy connecting!

References

Melissa J. - Geodata Support Analyst

Attachments

Outcomes