<< Click to Display Table of Contents >> PackBench > 7.3 u1 > User Guide > Advanced Topics > Configuration Files Client |
Client configuration is stored in XML format in the following location:
%APPDATA%\RayBench\RayBench.config
Below is a sample content of the configuration file:
<?xml version="1.0"?> <ClientConfig LastProjectId="0" ProjectSelector="true" Animations="true" Language="en" Mode="Standalone"> <DatabaseConnection> <Type>MsSql2008</Type> <ServerAddress>PBPR05NB000079</ServerAddress> <DatabaseName>PackBench</DatabaseName> <InstanceName>SQLEXPRESS</InstanceName> <InMemory>false</InMemory> <FilePath>C:\db\db.db</FilePath> <IsTrusted>False</IsTrusted> <UserName>USERNAME</UserName> <UserPassword>USERPASSWORD</UserPassword> </DatabaseConnection> <ServerTcpConnection Host="localhost" Port="23624" /> </ClientConfig> |
Contains the general settings of PackBench.
•Mode
Two values are supported: Standalone to use a standalone configuration, and ServerClient to use client.
•LastProjectId
Defines the identifier of last project in use.
•Animations
When set to True, animated elements of the User Interface will be used. Set it to False to disable rich animations.
•Language
This value is reserved for further use. Currently, only English is supported.
•ProjectSelector
This value is reserved for further use.
This element defines how PackBench accesses the SQL database. This element is ignored in the Server-Client scenario.
•Type (REQUIRED)
Defines the type of database to be used. Currently supported values are: MsSql2008, MySql, MySql2012, SqlLite. It is recommended to leave the default value MsSql2008 for full compatibility with SQL Server 2008 and newer. Support for SQLite and MySql is experimental.
•ServerAddress (REQUIRED)
Name or IP address of the database server.
•DatabaseName (REQUIRED)
The name of the database.
•InstanceName
The name of the instance. When empty or missing, a default instance is used.
•IsTrusted
Determines whether Windows Authentication will be used. When set to False, empty, or missing then SQL Authentication is used instead. SQL Authentication requires that the UserName and UserPassword elements are specified.
•UserName
User name used to authenticate to SQL Server using SQL Authentication.
•UserPassword
Password used to authenticate to SQL Server using SQL Authentication. This value may be written in open text, but when configured from PackBench UI it is always encrypted.
•InMemory (SQLite only)
When set to True, then in-memory database mode will be used. When equal to False, empty, or missing then a single ordinary disk file will be used.
•FilePath (SQLite only)
File path of the database.
This element defines how PackBench accesses the server:
•Host
The name or IP address of PackBench server. For standalone mode, this value must be always localhost.
•Port
A numeric value specifying the port on which the connection occurs. Standard value is 23624.