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?
asked 27 Sep '12, 21:25
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.
answered 27 Sep '12, 21:35