You can create a Windows service using the dbsvc utility.
There are no prerequisites for this task.
Context and remarks
Each database server can run more than one database. When you run more than one database at a time, it is recommended that you do so by adding new databases to your existing Windows service, rather than by creating new services.
Run the Service utility (dbsvc) with the -w option.
The following command creates a Windows service called myserv where the database server runs as the LocalSystem user.
dbsvc -as -w myserv "C:\Program Files\SQL Anywhere 16\Bin32\dbsrv16.exe" -n william -c 8m "c:\temp\sample.db"
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|