Different methods can be used to access different databases associated with a project. File geodatabases and connections to enterprise databases are stored on the file system. If you connect your project to a folder in which these databases are stored, you will see them in the folder.
If you find an enterprise database connection in a folder, you must add the connection to your project before you can open it and access items in the database. Databases added to the project are available under the Databases category in the Catalog pane and the catalog view.
The contents of a file geodatabase, a SQLite database, and a geopackage can be accessed from a folder connection. You can also connect a project directly to these databases—you can quickly access their contents without having to browse to the location where the databases are stored each time you use the items they contain. These databases also appear under the Databases category.
It may be important to connect a project to the folder in which a database is stored as well. Some geoprocessing operations produce output that can't be stored in a database. By default, these output items, such as text or XML files, are stored in the folder that contains the database, unless the geoprocessing environment is configured to store these items in a specific location. If the output location isn't available from the project, you can't access or document the output items.
Access a file geodatabase or SQLite database from a folder connection
You can see and work with a file geodatabase, a SQLite database, or a geopackage from a folder connection as well as any additional files stored in the same location. This may be important if you create files using data in the database and use those files in the project.
- Connect to a folder that contains the database you want to use.
- In the Catalog pane or the catalog view, browse to the folder that contains the database.
- Browse into the database and start using the items it contains.
When you are browsing a folder in the Catalog pane or the catalog view, you can add a database directly to the project by right-clicking it and then clicking Add To Project.
Add a database directly to the project
If you want to work directly with the contents of a database, and not other items stored in the same location, you can add it to the project.
If you have a database connection file (.sde) that can be used to access an enterprise database, for example, one that was created using ArcGIS Desktop, you must add these connections to a project to browse their contents. If this is the first time you've connected to an enterprise database from this computer, client software for the database may have to be installed before you can connect.
- On the Insert tab, in the Project group, click the Connections drop-down list and click Add Database.
- Browse to and click the file geodatabase, SQLite database, geopackage, or database connection file on the local or network computer.
- Click OK.
The database appears in the Catalog pane or the catalog view in the Databases category.
- Browse into the database to start using the items it contains.
You can drag a database or database connection from Windows Explorer and drop it in the Catalog pane or the catalog view to add it to a project.
Create a new file geodatabase in the project
You can create a new file geodatabase that will be used in the project.
- On the Insert tab, in the Project group, click the Connections drop-down list and click New File Geodatabase.
- Browse to a folder on the local or network computer where the new file geodatabase will be stored.
- Type a name for the new file geodatabase.
- Click Save.
The file geodatabase appears in the Catalog pane and the catalog view under the Databases category.
You can also create a new file geodatabase by right-clicking a folder and clicking New > New File Geodatabase. Type a name for the new geodatabase and press Enter. The new geodatabase is stored in the specified folder and added to the project under the Databases category.
Create a new enterprise database connection
Before you can use the contents of an enterprise database in ArcGIS Pro, you must first create a connection that provides access to the database. In most cases, your database or GIS administrator will provide you with the information you need to configure your local computer correctly and establish a connection to the database. Client software for the database may have to be installed on the local computer before you can connect to the database.
- On the Insert tab, in the Project group, click the Connections drop-down list and click New Database Connection.
- Provide the connection information for accessing the database.
- Click OK.
- Type a name for the new database connection.
- Press Enter.
A new database connection file is stored in the project's home folder. The connection appears in the Databases category in the Catalog pane and the catalog view along with any file geodatabases that have already been added to the project.
Favorite a database
If you add the same database to many projects, favorite that database to simplify the process. The project favorites collection is always available. Add a favorite database to projects where you need it without having to remember its location or any connection details. A favorite enterprise geodatabase, for example, can be added to every new project. New file geodatabases and database connections can be created directly in the project favorites folder; if your user profile supports roaming, they will be available and current on every computer you use.
You can drag any database or database connection from Windows Explorer and drop it on the favorites collection in the Catalog pane or the catalog view. For database connections, a copy of the connection file will be saved to the project favorites roaming folder.