You are here:
ArcCatalog
>
Building the Catalog
About creating spatial database connections
With ArcCatalog, you can explore and manage geographic data stored in a relational database management system (RDBMS) through ArcSDE. Similarly, SDE for Coverages lets you access coverage, ArcInfo Librarian, and ArcStorm databases the same way you access data from an RDBMS. To access these databases, you must add a spatial to the Catalog. If you prefer, your database connection can directly access your database using the direct connect drivers provided with ArcGIS software rather than accessing it through ArcSDE.
Learn more about the contents of geodatabases
You aren't required to type your username and password to create a connection; however if you don't, you will be prompted to enter them when a connection is established. Uncheck Save name and password if you prefer not to save your login information as part of the connection; doing this can help maintain the security of the database. To make it easier to log in, create a connection for which you only have to enter your password each time; provide the server information and your username, then click OK.
Create a test connection if you're unsure whether the server or login information you have is correct. If the connection test fails, contact the database administrator to ensure the database is operational. You can still add this connection to the Catalog, but you will be unable to retrieve data until the problem is resolved.
Geodatabases managed with ArcSDE can be versioned. Feature editing in ArcMap requires a versioned geodatabase. New spatial database connections will automatically access the default version of the database. To connect to a specific version, type your server and login information and click Change. ArcCatalog connects to the geodatabase and lists the versions that are available. You can also choose not to save any version information as part of the connection; you might do this if you work with several different versions of the same database.
Learn more about versioning
How to create spatial database connections
Connecting to a spatial database
- Click the Database Connections folder in the Catalog tree.
- Double-click Add Spatial Database Connection.
- Type the name or Internet Protocol (IP) address of the server to which you want to connect in the Server text box.
- Type the name or port number of the service to which you want to connect in the Service text box.
- If the data is stored in a SQL Server, IBM DB2, or Informix RDBMS, type the name of the database to which you want to connect in the Database text box. If the data is stored in another RDBMS, skip this step.
- Type your username and password for the database.
- Click Test Connection.
If the test was successful, the button becomes unavailable. If the test fails, you won't be able to retrieve data until you've provided the correct information or the database problem has been resolved.
- Uncheck Save Name/Password if you don't want your login information saved with the connection.
- Click OK.
- Type a new name for the database connection.
- Press Enter.
- When you click OK in the Spatial Database Connection dialog box, a connection file is created on disk and is added to the Catalog. However, ArcCatalog does not automatically establish a connection. Double-click the connection in ArcCatalog to access the database's contents.
|
Connecting to a specific version of the database
- Click the Database Connections folder in the Catalog tree.
- Double-click Add Spatial Database Connection.
- Type the name or IP address of the server to which you want to connect in the Server text box.
- Type the name or port number of the service to which you want to connect in the Service text box.
- If the data is stored in a Sybase , SQL Server, IBM DB2, or Informix RDBMS, type the name of the database to which you want to connect in the Database text box. If the data is stored in another RDBMS, skip this step.
- Type your username and password for the database.
- Click Test Connection.
If the test was successful, the button becomes unavailable. If the test fails, you won't be able to retrieve data until you've provided the correct information or the database problem has been resolved.
- Uncheck Save Name/Password if you don't want your login information saved with the connection.
- Click Change.
- Click the Version dropdown arrow and click the version of the database that you want to access.
- Click OK.
- Uncheck Save Version if you don't want to connect to the same version of the database each time.
- Click OK.
- Type a new name for the database connection.
- Press Enter.
Adding a direct connection to an Oracle geodatabase
- Double-click the Database Connections folder in the Catalog tree.
- Double-click Add Spatial Database Connection.
- If you're connecting to Oracle8i, type "sde:oracle" in the Service text box. If you're connecting to Oracle9i, type "sde:oracle9i".
- Type your username in the User Name text box.
- Type your password, followed by "@<oracle network service name>", in the Password text box.
- Uncheck Save Name/Password if you don't want your login information saved with the connection.
- Click OK.
- Type a new name for the spatial database connection.
- Press Enter.
- You must create an Oracle network service name on your client machine before you can create a direct connection to an Oracle database.
|
Adding a direct connection to a SQL Server geodatabase
- Double-click the Database Connections folder in the Catalog tree.
- Double-click Add Spatial Database Connection.
- Type "sde:sqlserver:<name or IP Address of the server>" in the Service text box.
- Type the name of the database to which you want to connect in the Database text box.
- Type your username and password.
- Uncheck Save Name/Password if you don't want your login information saved with the connection.
- Click OK.
- Type a new name for the spatial database connection.
- Press Enter.
Adding a direct connection to a DB2 or Informix geodatabase
- Double-click the Database Connections folder in the Catalog tree.
- Double-click Add Spatial Database Connection.
- If you're connecting to DB2, type "sde:db2" in the Service text box. If you're connecting to Informix, type "sde:informix".
- Type the name of the database to which you want to connect in the Database text box.
- Type your username and password.
- Uncheck Save Name/Password if you don't want your login information saved with the connection.
- Click OK.
- Type a new name for the spatial database connection.
- Press Enter.
Please visit the
Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.