By default, SQL Anywhere attempts to connect to a running database server. If no server can be found with the specified
connection parameters, SQL Anywhere automatically starts a new local database server using the local-database-server-command. The database server is not started automatically if the Host connection parameter is specified or the CommLinks (LINKS)
parameter includes TCPIP. See SQL Anywhere database server syntax.
In this case, the dbsrv16 database server is not started. Instead, the dbeng16 database server that was used to start mydb.db is used to start and connect to myseconddb.db.
However, if Server=server-name had been specified, and a database server named server-name was not running, then the dbsrv16 database server would have started.
To specify the database name, database file, or server name, it is recommended that you use the DatabaseName (DBN), DatabaseFile
(DBF), and ServerName(Server) connection parameters, rather than the specifying database server options in the StartLine connection
The following command uses the recommended syntax: