The -n parameter on the first row in the Parameters box gives the name of the database server. This is by default monwin and is the same as the name of the service. The name was entered during the installation of MONITOR.
The parameter is also used here to name the company databases. You can enter the file path to the company databases under the first parameter row. Here you can add the file path to the company databases with the purpose of starting the databases when the service starts. Then you should enter the -n parameter and the name of the company database in the file path row. See the example below.
-n monwin -x tcpip -gd all -ti 0
c:\monwin\db\001\monitor.db -n FTG_001
c:\monwin\db\002\monitor.db -n FTG_002
As a standard, the company databases are named FTG_XXX, where XXX is the number of the company database. For example FTG_001.
The database name that is configured using the -n parameter corresponds to the DBN parameter on the rows for the company databases in the Monitor.ini file. The file path to the company databases is also entered using the DBF parameter on the rows in the same configuration file. Read more about this in the section Configuration Files in MONITOR.
Since the database server can load/start several databases, the -n parameter is used to distinguish each individual database. If the parameter is not used here to name the databases, the database server will instead use the file name as database name. If the database file name is monitor.db, the database name will become monitor. However, the file name is always monitor.db for each company database and if you do not name the database using the parameter -n this will result in a conflict.
If the file path to the company databases is entered here, then the DBF parameter in the Monitor.ini will not perform a function. This means that you can remove the parameter there. This can be good if you have high security requirements, for example if you do not want the users to see the where the databases are saved.
If you enter paths to the company databases in the Parameters field you also get the opportunity to place the databases in another file path than the standard path c:\monwin\db. For example when you want to move the databases to another partition or hard disk on the server. The examples below should therefore work equally well.
-n monwin -x tcpip -gd all -ti 0
e:\data\monitor-databaser\001\monitor.db -n FTG_001
e:\data\monitor-databaser\002\monitor.db -n FTG_001