ASA Database Administration Guide
Running the Database Server
You can stop the database server by:
Clicking Shutdown on the database server window.
Using the dbstop utility.
The dbstop utility is particularly useful in batch files, or for stopping a server on another machine. It requires a connection string in its command.
For more information on dbstop options, see Stopping a database server using the dbstop command-line utility.
Letting it shut down automatically by default when the application disconnects. (This only works if the server is a personal server started by an application connection string.)
Pressing q when the server display window has the focus on UNIX or NetWare machines.
To stop a server using the dbstop utility
Start a server. For example, the following command executed from the Adaptive Server Anywhere installation directory starts a server named Ottawa using the sample database:
dbsrv9 -n Ottawa asademo.db
Stop the server using dbstop:
dbstop -c "eng=Ottawa;uid=DBA;pwd=SQL"
Who can stop the server?
Shutting down operating system sessions