on 2012 Sep 27 10:25 PM
Folks,
We use the dbcapi to start dbeng12 using
_Connection = _Api.sqlany_new_connection(); if ( !_Api.sqlany_connect(_Connection, GetConnectionString().c_str() ) ) ...
Is there any connection string equivalent to the -qi dbeng12/dbsrv12 server option to stop the system tray icon appearing on windows? Or is there some other way to tell the capi to suppress the icon?
Cheers, Dan
Request clarification before answering.
If the database is not already started, the command line arguments can be passed into the connection string via the START parameter: StartLine (START) connection parameter.
An example of the parameter in a connection string would be:
"UID=dba;PWD=SQL;DBF=mydatabase.db;START=dbsrv12 -o server.out -c 2G"
This would start the database mydatabase.db and the server with outputting the console log and an initial cache of 2 GB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.