CUSTOMER GUIDE: Defining a Connection String
FLEETMATE?
Fleet Maintenance Management Software
CUSTOMER GUIDE: Defining a Connection String
Manually Defining a SQL Server Connection String
If you need to manually define a SQL Server connection string, and you are using Windows Integrated Security, you may do so by manually setting a FLEETMATE registry value. This type of operation is typically done during user login, by scripting the registry value below. This way the end-user does not need to know the details of the database name or the server. When the user starts FLEETMATE, it will automatically open the database.
The connection string is set per-user under the HKEY_CURRENT_USER registry hive. The registry value name is ConnStr. The full registry path is as follows:
HKEY_CURRENT_USER\Software\SCB\FLEETMATE\General\ConnStr
A connection string contains several values delimited by a semicolon (;) character. A connection string must be defined as one long continuous string of characters. The example connection string below is broken out into several lines for clarity.
Provider=MSOLEDBSQL.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=dbname; Data Source=server\instance
Where:
dbname is your FLEETMATE database name on SQL Server server is the server name instance is the SQL Server instance name
An actual connection string may appear as follows:
Provider=MSOLEDBSQL.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=FLEETMATE; Data Source=CORP-01\SQL2019
Remember, a connection string must be defined as one (1) long string of characters, all on one (1) physical line.
FLEETMATE is a registered trademark of SCB Consulting, LLC. Microsoft, Windows, and SQL Server are trademarks or registered trademarks of Microsoft Corporation. All other product names found in this document are trademarks or registered trademarks of their respective holders.
Copyright ? SCB Consulting, LLC. All rights reserved.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- sql server jdbc connection string default schema womens
- quick reference adodbapi
- connection limits and timeouts cisco
- connection management strategies for java applications using oracle
- ca datacom server webinterface
- core connection string
- developer s guide 11g release 2 11 2 for microsoft windows
- sql server connection string timeout property
- sap iq connection and communication parameters reference
- mysql connector odbc developer guide
Related searches
- ms access connection string 2016
- connection string for access 365
- connection string sql 2016
- sql connection string sql user
- sql connection string trusted connection
- sql connection string to local sql
- sql server connection string trusted connection
- connection string c sql server examples
- sql connection string integrated
- connection string for sql using encryption
- sql connection string port
- db2 connection string jdbc