Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.


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

asked 27 Sep '12, 21:25

Dan%20Cleyne's gravatar image

Dan Cleyne
accept rate: 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.

permanent link

answered 27 Sep '12, 21:35

Tyson%20Lewis's gravatar image

Tyson Lewis
accept rate: 22%

Thanks Tyson,

We've reworked our connection string to include the StartLine parameter. So far so good.

Cheers, Dan

(27 Sep '12, 22:24) Dan Cleyne
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Sep '12, 21:25

question was seen: 2,151 times

last updated: 27 Sep '12, 22:24