Connect an Enterprise Geodatabase to Your Project
Now that your asset package is modified and tested, you must connect an enterprise geodatabase to your project to Stage the Utility Network. This connection makes sure the correct database is accessible and contains the correct permissions.
Enterprise geodatabase connection details:
-
Open ArcGIS Pro and a new map project.
IMPORTANT: A new project is needed for the enterprise geodatabase to publish the feature service. It is recommended to keep these projects separate and name them appropriately. Example:mytestingproject.aprx
ormypublishingproject.aprx
. -
On the Catalog pane, under Project, right click Databases and select New Database Connection.
-
In the Database Connection window, enter the fields:
-
Instance is the URL of the database server. Example: mysql.database.windows.net
-
Authentication Type is Database authentication.
-
User Name is the database server administrator credentials.
-
Password is the database server administrator credentials.
-
Database is the name of database you want to connect to. Select a database name from the list and click OK.
If the given credentials are not valid, ArcGIS Pro shows an error and no database names show in the list.
-
Connection file name is automatically populated and contains the name of the database.
-
Once the connection is made, you need to run the Enable Enterprise Geodatabase tool.
-
In the Geoprocessing search bar, enter Enable Enterprise Geodatabase and open the tool.
-
Drag your database connection from the Catalog pane to the Input Database Connection field in the Geoprocessing pane.
-
For the Authorization file, browse to the key codes file that was created when ArcGIS Server was authorized and click Run.