Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » Using SQL Anywhere database servers

 

Running the database server outside the current session

When you log on to a computer using a user ID and a password, you establish a session. When you start a database server, or any other application, it runs within that session. When you log off the computer, all applications associated with the session shut down.

If you need the database server to be available all the time, you can run SQL Anywhere for Windows and for Unix so that when you log off the computer, the database server remains running.

  • Windows service   You can run the Windows database server as a service. This configuration can be convenient for running high availability servers. See Understanding Windows services.

  • Unix daemon   You can run the Unix database server as a daemon using the -ud option, enabling the database server to run in the background, and to continue running after you log off. See Running the Unix database server as a daemon.

  • Linux service   You can run the Linux database server as a service. This configuration has many convenient properties for running high availability servers. See Service utility (dbsvc) for Linux.

In addition to creating services for SQL Anywhere database servers, you can also create Windows services for the following executables:

 See also

Understanding Windows services
Programs that can be run as Windows services
Managing Windows services
Create Windows services
Delete Windows services
Configure Windows services
Set the refresh frequency
Start and stop services
The Windows Service Manager
Service dependencies
Running the Unix database server as a daemon