Making an ArcSDE service connection from ArcGIS
Use the Create ArcSDE Connection File geoprocessing tool or a Python script to connect to an enterprise geodatabase using an ArcSDE service.
The following steps explain how to connect to an enterprise geodatabase using an ArcSDE service:
Steps:
- Start ArcMap or ArcCatalog.
-
Open the
Create ArcSDE Connection File geoprocessing tool.
The Create ArcSDE Connection File tool is in the Workspace toolset of the Data Management toolbox.
- Browse to the location where you want the connection file to be created to populate the ArcSDE Connection File Location text box.
- Type a name for the connection file.
The file name must include the .sde file extension.
- In the Server text box, type the name of the server where ArcSDE is installed.
- Type the port number of the ArcSDE service in the Service text box.
- Depending on which database management system you use, type the following in the Database text box:
- DB2: Type the alias of the DB2 database that contains your geodatabase.
- Informix: Type the Open Database Connectivity data source name for the Informix database that contains your geodatabase.
- Oracle: Do not type anything in the Database text box.
- PostgreSQL: Type the name of the PostgreSQL database that contains your geodatabase.
- SQL Server: Type the name of the SQL Server database that contains your geodatabase.
- If you want to connect to a geodatabase in SQL Server using an operating system authenticated login, uncheck Database authentication; otherwise, leave this option checked.
- If Database authentication is checked, type the name of the valid database user in the Username text box.
- If Database authentication is checked, type the password of the database user in the Password text box.
- If you want the user and password information stored with the ArcSDE connection file, check Save username and password.
If this is unchecked, you will be prompted to provide the user name and password each time you connect using this connection file.
- If you want to connect to a version other than DEFAULT, type the name of the geodatabase version in The following transactional version will be used text box.
- If you want to connect to that version the next time you use the connection file, check Save the transactional version name with the connection file.
An ArcSDE connection file is created in the location you specified.
4/2/2015