Bosch DICENTIS Software Manual page 85

Hide thumbs Also See for DICENTIS:
Table of Contents

Advertisement

DICENTIS
SQL authentication format
The SQL connection string based on SQL authentication has the following format. In the
format the elements to change are marked:
Data Source=.SQLEXPRESS;Initial Catalog=DcnmDatabase;User
ID=DbUser;Password=DbPassword;MultipleActiveResultSets=True
SQL server reference
The server has to be referenced in the connection string. In the above examples, the SQL
server is defined as .SQLEXPRESS. Actually the reference consists of two parts:
The machine part is defined with two backslashes, for example:
MySQLMachine
The name of the machine when the local machine is used. The machine name may be replaced
by a dot (.). The SQL server instance is the name of the SQL as given during installation, for
example:
SQLEXPRESS
This name is added after the machine reference and is separated by a backslash. During
installation you can also choose the default instance. In that case the instance name may be
omitted and only the machine name has to be provided.
Creating the database on the SQL server
The database can only be created by using Windows Authentication (the database creation
tool currently does not support SQL authentication). For best support we advise to create the
database on the target machine using administrator rights.
The console tool DcnmDatabaseConsole.exe is used to create the database. When you need
to copy the tool, the following files have to be copied:
For help on the command-line syntax and the available options, execute the command with
the -? option.
Remote creation
For the remote creation, the server and database options have to be passed, such as:
DcnmDatabaseConsole.exe –s SQL-Server –d Database
Bosch Security Systems B.V.
The first mark defines the SQL server.
The second mark defines the database name to use.
The third mark defines the SQL user name to use for the connection.
The fourth mark defines the SQL user password for the connection.
Note: This password is not encrypted.
The machine name where the SQL server is positioned, and
The name of the SQL server instance.
DcnmDatabaseConsole.exe
DcnmDatabaseConsole.exe.config
Bosch.Interfaces.dll
Optionally, the command can be added with the –n option to force the creation of a new
database (the old database will be dropped).
When the -n option is omitted, the presence of the database is checked, backed up, and
upgraded when needed.
Software Manual
Hints and Tips | en
85
2017.02 | V1.9 |

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents