Connect to a Database
Permissions note: You need the db_owner role membership for the connected database.
To add a database connection:
- On the Dashboard, in the Settings menu, click Manage Database Connections.
The Manage DB Connections screen displays.
Note: LandTracker must have at least one database connection configured. During installation, a database connection record is created based on your computer name and a specific SQL Server instance for LandTracker (MSSQLLT). However, this SQL Server instance is not created during installation. You can delete this placeholder database connection record after you have configured your actual database connection.
- Enter database details:
- Click Add New Row in the data grid.
- Complete the following fields with information provided by LandTrack Systems or your company's LandTracker administrator.
- Name
- Server
- DBName
- UserName
- Password
Note: If you are using a SQL Server with trusted Windows authentication, do not enter a UserName and Password.
- To set this database as your default database, click Set as Default.
IsDefault is set to True for the database.
- Click Test Connection.
A connection status message displays.
- Click OK.
- Click Switch To.
A connection confirmation message displays and the Status Bar displays the current database, server and user name.
If you are connected to your default database, the background colour of the Dashboard is pale blue. If you are connected to a non-default database, the background colour of the Dashboard is salmon orange.
- Click OK.
- Click Save and Close.
To test whether you can connect to a database:
- On the Dashboard, in the Settings menu, click Manage Database Connections.
The Manage DB Connections screen displays.
- Select the database in the data grid.
- Click Test Connection.
A connection status message displays.
- Click OK.
To switch to a different database:
- On the Dashboard, in the Settings menu, click Manage Database Connections.
The Manage DB Connections screen displays.
- Select the database in the data grid.
- Click Switch To.
A connection confirmation message displays.
- Click OK.
The Status Bar displays the currently connected database.
To set a database as your default database:
- On the Dashboard, in the Settings menu, click Manage Database Connections.
The Manage DB Connections screen displays.
- Select the database in the data grid.
- Click Set as Default.
IsDefault is set to True for the database.
- Click Save or Save and Close.