ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Database server connections

  • Local versus remote connections
  • Connections from ArcMap

When connecting to a database server and the geodatabases stored on it, you are always connecting directly to the SQL Server Express instance using a Windows-authenticated login. You can connect to database servers that are on a remote computer or that are installed locally.

When you connect to a database server (SQL Server Express instance) from the ArcGIS client, you use SQL Server's connection mechanism. For this reason, you must have the SQL Server client installed on the connecting client computer. You can obtain the SQL Server client from My Esri or from Microsoft.

Additionally, when connecting to a database server and the geodatabases stored on it, you must use a Windows-authenticated login. Windows authentication is a method for identifying an individual user with credentials supplied by the Windows operating system of the user's computer. Therefore, the login with which you log in to the client computer is the login that is used for the connection. This login can be either a local or domain account. When connecting to a remote database server (one on a different computer than the connecting client), use a domain login. When connecting to a local database server (one that is on the same computer as the connecting client), you can use either a domain or a local login. Be aware that if you use a domain login when connecting to a local database server on a computer that is off the network, you may not be able to log in to the database server.

Local versus remote connections

When connecting to database servers that reside on the same computer as the connecting client application, you can use a local or domain account to log in.

You should use a domain login to connect to the remote database server. A local Windows account on your client machine is not the same login as one created on a remote machine. For example, if your local login is mymachine\myuser, creating a login with the same name on the remote machine, yourmachine, results in this login: yourmachine\myuser. These are essentially two different login names.

Tip:

There is a way to work around this. Using the same password for the local and remote logins will allow the login to be accepted by the remote machine.

If connecting to a remote computer, the database server must be enabled to accept network connections. By default, the Microsoft SQL Server Express instance is set to accept network connections when you use the installation wizard to enable the SQL Server Express instance to store geodatabases. If the ability to accept network connections was disabled in the SQL Server Configuration Manager, it must be reenabled.

Connections from ArcMap

You can connect to the geodatabases stored on a database server either through the Database Server node in the Catalog window or the Database Connections node.

The Database Servers node in the Catalog

Connecting to a geodatabase through the Database Servers node in the Catalog

The Database Connections node in the Catalog

Connecting to a geodatabase through the Database Connections node in the Catalog

Generally, you connect through the Database Servers node if you must perform administrative tasks that affect the database server or multiple geodatabases on the database server.

If you only need to access the data in one geodatabase on the database server or you need to publish services from a workgroup geodatabase, connect under the Database Connections node.

Tip:

You can initially connect through the Database Server node and save the connection to the geodatabase. This creates a connection file under the Database Connections node of the Catalog tree. See Connect to a specific version for instructions on how to do this.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal