Difference between revisions of "Key: ConnectionString"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:System_keys]]
 +
{{HelpFiles_Deployment}}
 

 

  
=====Key: ConnectionString=====
+
==Key: ConnectionString==
  
 
===Syntax===
 
===Syntax===

Latest revision as of 10:21, 7 February 2012

<accesscontrol>Main:MyGroup</accesscontrol> 

Key: ConnectionString

Syntax

<add key="ConnectionString" value="connect timeout=10; server=[SERVER]; uid=[USERNAME]; pwd=[PASSWORD]; database=[DATABASE]"/>

where:

[SERVER]: name of the database server.

[USERNAME]: user name which is used for connecting to the SQL Server. This user must have Administrator rights and should be a System Administrator of the server.

[PASSWORD]: password which is used for connecting to the SQL Server for the above mentioned user.

[DATABASE]: name of the database that has been created above.

Purpose

The connection string is used for making a connection to CatGlobe database on the database server.

Whenever this connection string is changed, you must remember to bring the new one to the corresponding Connection_String in the Sites section in Mail module\databases\

This key is required.

Example of key

<add key="ConnectionString" value="connect timeout=10;server= 10.0.0.137;uid=sa; pwd=ndthuan;database=DBHEAD"/>