Layton ServiceDesk - FAQ - Manual SQL Connection
m (Jpainter moved page Layton ServiceDesk™ - SQL Connection to Layton ServiceDesk - FAQ - Manual SQL Connection: Removed the TM symbol for a cleaner URL) |
(Major revision) |
||
Line 1: | Line 1: | ||
− | <p align="right">[[File:btn_back_up.png|link=User Guide for Layton | + | <p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk]] [[User Guide for Layton ServiceDesk|<u>Back to Contents</u>]]</p> |
=Overview= | =Overview= | ||
− | Layton ServiceDesk | + | Although the '''[[Layton ServiceDesk - Installation - Connect to Existing Database|DBTool application]]''' is the preferred method of configuring a SQL connection, it can be configured manually. This is useful in the event where a change in the '''[[Layton ServiceDesk - Settings - System Settings - Application Database Connection|Application Database Connection]]''' settings has caused Layton ServiceDesk to lose its connection. |
− | + | There are two options: NT or SQL authentication. | |
− | + | =Location of SQL Configuration File= | |
+ | The SQL configuration file is | ||
− | + | config.xml | |
− | + | It is located in | |
− | + | C:\Program Files (x86)\Layton Technology\Layton ServiceDesk\HB_Data\ConfigXML\ | |
− | + | The file can be edited with any text editor such as Notepad. | |
− | + | =Connecting Using NT Authentication (Trusted Connection)= | |
− | + | The sample below shows the four lines that need to be configured to allow connection to SQL server using NT Authentication. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<appodbc label="Connection">'''(local)'''</appodbc> | <appodbc label="Connection">'''(local)'''</appodbc> | ||
Line 29: | Line 24: | ||
<appdbpwd label="Password"></appdbpwd> | <appdbpwd label="Password"></appdbpwd> | ||
− | + | ==appodbc== | |
The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. ''SERVER\SQLEXPRESS''. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on. | The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. ''SERVER\SQLEXPRESS''. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on. | ||
− | + | ==appdb== | |
The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is ''LaytonServiceDesk'', unless you have installed the LaytonServiceDesk database using a different name. | The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is ''LaytonServiceDesk'', unless you have installed the LaytonServiceDesk database using a different name. | ||
− | + | ==appdbuid and appdbpwd== | |
− | Should be | + | Should be null as shown, or LaytonServiceDesk will try to connect using SQL Server Authentication. |
− | + | =Connecting Using SQL Authentication= | |
− | + | These are the four lines that need to be configured to allow connection to SQL server using SQL Authentication. Note that the SQL user '''[[Layton ServiceDesk - FAQ - LaytonUser1 Configuration|LaytonUser1]]''' was created on installation and can be used. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<appodbc label="Connection">'''(local)'''</appodbc> | <appodbc label="Connection">'''(local)'''</appodbc> | ||
Line 50: | Line 41: | ||
<appdbpwd label="Password">'''PASSWORD'''</appdbpwd> | <appdbpwd label="Password">'''PASSWORD'''</appdbpwd> | ||
− | + | ==appodbc== | |
The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. ''SERVER\SQLEXPRESS''. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on. | The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. ''SERVER\SQLEXPRESS''. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on. | ||
− | + | ==appdb== | |
The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is ''LaytonServiceDesk'', unless you have installed the LaytonServiceDesk database using a different name. | The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is ''LaytonServiceDesk'', unless you have installed the LaytonServiceDesk database using a different name. | ||
− | + | ==appdbuid== | |
The SQL account name to be used. By default, '''[[LaytonUser1 Configuration|LaytonUser1]]''' is configured on database creation. You can use this, or another account. | The SQL account name to be used. By default, '''[[LaytonUser1 Configuration|LaytonUser1]]''' is configured on database creation. You can use this, or another account. | ||
− | + | ==appdbpwd== | |
The SQL account's password. This is entered in plain text. | The SQL account's password. This is entered in plain text. | ||
− | + | <p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk]] [[User Guide for Layton ServiceDesk|<u>Back to Contents</u>]]</p> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <p align="right">[[File:btn_back_up.png|link=User Guide for Layton | + |
Revision as of 04:52, 9 September 2016
Contents |
Overview
Although the DBTool application is the preferred method of configuring a SQL connection, it can be configured manually. This is useful in the event where a change in the Application Database Connection settings has caused Layton ServiceDesk to lose its connection.
There are two options: NT or SQL authentication.
Location of SQL Configuration File
The SQL configuration file is
config.xml
It is located in
C:\Program Files (x86)\Layton Technology\Layton ServiceDesk\HB_Data\ConfigXML\
The file can be edited with any text editor such as Notepad.
Connecting Using NT Authentication (Trusted Connection)
The sample below shows the four lines that need to be configured to allow connection to SQL server using NT Authentication.
<appodbc label="Connection">(local)</appodbc> <appdb label="Database">LaytonServiceDesk</appdb> <appdbuid label="User ID (Blank = NT Trusted)"></appdbuid> <appdbpwd label="Password"></appdbpwd>
appodbc
The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. SERVER\SQLEXPRESS. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on.
appdb
The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is LaytonServiceDesk, unless you have installed the LaytonServiceDesk database using a different name.
appdbuid and appdbpwd
Should be null as shown, or LaytonServiceDesk will try to connect using SQL Server Authentication.
Connecting Using SQL Authentication
These are the four lines that need to be configured to allow connection to SQL server using SQL Authentication. Note that the SQL user LaytonUser1 was created on installation and can be used.
<appodbc label="Connection">(local)</appodbc> <appdb label="Database">LaytonServiceDesk</appdb> <appdbuid label="User ID (Blank = NT Trusted)">SQLACCOUNTNAME</appdbuid> <appdbpwd label="Password">PASSWORD</appdbpwd>
appodbc
The server name of the SQL Server you are connecting to. This can be a server name or an IP address. If an instance is used, it should be specified, e.g. SERVER\SQLEXPRESS. The value of (local) is a default value that tells LaytonServiceDesk to connect to the same server as it is installed on.
appdb
The database within the SQL Server that LaytonServiceDesk is to connect to. The default name as installed is LaytonServiceDesk, unless you have installed the LaytonServiceDesk database using a different name.
appdbuid
The SQL account name to be used. By default, LaytonUser1 is configured on database creation. You can use this, or another account.
appdbpwd
The SQL account's password. This is entered in plain text.