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
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 |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.