The database name is optional when connecting to a SQL Server instance, but only if you want to connect to the database that has been assigned as your default database in the SQL Server instance.
However, if you do this, you will be prompted to provide a user name and password every time you connect. Uncheck Save user name and password if you prefer to not save your login information as part of the connection doing this can help maintain the security of the database. If you choose Database authentication, you must provide a valid database user name and password in the User name and Password text boxes, respectively. If the login used for the operating system is not a valid database login, the connection fails. If you choose Operating system authentication, you do not need to type a user name and password-the connection is made using the login name and password used to log in to the operating system.Choose the type of authentication to use when connecting to the database: Database authentication or Operating system authentication.If you are using a SQL Server instance named terra\gis, type terra\gis in the Instance text box.Īdditional text is needed in the Instance text box for encrypted connections and connections to highly available SQL Server databases. If your Microsoft Azure SQL Database instance name is, type in the Instance text box. For example, if the SQL Server instance is basset\spatial and is listening on port 61000, type basset\spatial,61000 in the Instance text box. If your database is listening on a port other than the default (1433), include the port number in the instance. For example, if the IPV6 address of the server is 2000:ab1:0:2:f333:c432:55f6:d7ee, type in the Data source text box. If specifying an IPV6 address, enclose the address in brackets. The following steps describe using the Database Connection dialog box:įor example, if you are using a default SQL Server instance, you can specify the instance name or the IP address of the server in the Instance text box. Connect to the databaseĪdd a database connection using the Database Connection dialog box or the Create Database Connection tool.
Install the driver on all computers where ArcGIS Pro is installed. Be sure to get the Microsoft ODBC driver that is supported for the version of SQL Server to which you want to connect.
Obtain the Microsoft ODBC driver for SQL Server from the Microsoft Download Center or from My Esri. See the Microsoft SQL Server documentation for more information.Īdditional configuration is required on the SQL Server and ArcGIS Pro client machine to use encrypted connections. If you have a new installation of SQL Server, be sure the SQL Server service is running and listening on the correct ports. Configure the instance to allow connectionsīy default, SQL Server instances are not configured to allow connections from other computers. First, though, be sure your SQL Server instance can accept connections from remote computers. To connect from an ArcGIS Pro project to SQL Server, install the Microsoft ODBC driver for SQL Server on the ArcGIS Pro machine and create a database connection. To publish ArcGIS Server web services that reference the data in your SQL Server database, register the database connection file with your ArcGIS Server sites. Once the SQL Server ODBC driver is configured on all your ArcGIS client machines, create a database connection file. To connect to Microsoft SQL Server from an ArcGIS client, install a supported Microsoft SQL Server ODBC driver on the ArcGIS client machine and connect to the database from the ArcGIS client.