Specify a connection string to the client message store.
qaagent -c connection-string ...
Connection parameter |
Default value |
---|---|
uid |
ml_qa_user |
pwd |
qanywhere |
The connection string must specify connection parameters in the form keyword=value, separated by semicolons, with no spaces between parameters.
DSNs are not typically used on client devices. ODBC is not used by qaagent.
For a complete list of connection parameters, see Connection parameters.
Following are some of the connection parameters you may need to use:
dbf=filename Connect to a message store with the specified file name.
See DatabaseFile connection parameter [DBF].dbn=database-name If the client message store is already running when the QAnywhere Agent starts, you can connect to it by specifying a database name rather than a database file.
See DatabaseName connection parameter [DBN].eng=server-name If you want to use a database server that is already running, use this option to specify the server name. The default value is the name of the database.
See EngineName connection parameter [ENG].uid=user Specify a database user ID to connect to the client message store. This parameter is required if you change the defaults.
See Userid connection parameter [UID].pwd=password Specify the password for the database user ID. This is required if you change the defaults.
See Password connection parameter [PWD].dbkey=key If the client message store is encrypted using strong encryption, specify the encryption key required to access the database.
See DatabaseKey connection parameter [DBKEY].start=startline Specify the database server start line. If you do not specify the startline, the default for Windows CE is start=dbsrv10 -m -gn 5
, and the default for other Windows platforms is start=dbsrv10 -m
. The -m option causes the contents of the transaction log to be deleted at checkpoints and is recommended. See:
qaagent -id Device1 -c "DBF=qanyclient.db" -x tcpip(host=hostname) -policy automatic