HOW TO

Specify a username and password in DATABASE_CONNECT_STRING of Site Starter application

Last Published: April 25, 2020

Summary

The DATABASE_CONNECT_STRING in the configuration file for the Search application allows you to specify a system DSN. This DSN is used to connect to the database holding the search table. If the database requires a username and password for a connection, they will also need to be specified in the DATABASE_CONNECT_STRING.

Procedure



Use the following syntax to specify the username and password:

Code:
"DSN=MyDSN;UID=MyUserName;PWD=MyPassWord"

Article ID:000004164

Software:
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options