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

SQL Anywhere 10.0.1 » SQL Anywhere 10 - Context-Sensitive Help » Connect Dialog Help

Connect dialog: Identification tab (UltraLite) Next Page

Connect dialog: Database tab (SQL Anywhere)

The Database tab of the Connect dialog has the following components:

Server name    Type the name of the SQL Anywhere personal server or network server. For example, demo. You need to supply a server name if you want to connect to a network server. You can omit the server name if you want to connect to the default personal server.

You can select a recently-used server name from the dropdown list or click Find to search for a server. When you click Find, a dialog appears listing running local personal servers and network servers. To choose a server from this dialog, select a server from the list and then click OK. The server name appears on the Database tab in the Server Name field.

See Naming the server and the databases.

The server name connection parameter is a synonym for the EngineName (ENG) connection parameter. See EngineName connection parameter [ENG].

Start line    The start line is a command to start a personal database server or a network server on your computer. Enter a start line only if you want to connect to a local database server that is not currently running and if you want to set your own start parameters. You must enter the full path of the server; for example to start the personal database server, enter c:\Program Files\SQL Anywhere 10\win32\dbeng10.exe. Alternatively, you can select a recently used start line from the dropdown list.

See StartLine connection parameter [START].

You can also include options in the Start Line field. The start line and options are used when you want to:

Search network for database servers    Select this option if you want to connect to a server that is running on a computer other than your local computer. You should clear this option if you want to connect to a database server on your local computer. Selecting this option adds the LINKS=ALL connection parameter to the connection string.

Database name    Each database running on a server is identified by a database name. Type the name of the database you are connecting to.

You need a database name only if there is more than one database running on the server. If the database is not already running on the server, you should specify the database file instead.

You can also select a recently-used database name from the dropdown list or click Browse to locate the database file.

For more information about the database name, see:

Database file    Specify the database file when the database you want to connect to is not currently running on a server. It is recommended that you type the full path and name of the database file, for example, C:\sample.db. Otherwise, the path of the file is relative to the working directory of the server.

You can also select a recently-used database file from the dropdown list or click Browse to search for the database file.


If you specify both the database name and database file when trying to connect to a database that is already running, the database file is ignored.

See DatabaseFile connection parameter [DBF].

Start database automatically    Select this option to start the database specified in the Database File field before you connect to it.

You should clear the Start Database Automatically option if you want to ensure that you connect only to a running database.

See AutoStart connection parameter [ASTART].

Stop database after last disconnect    Select this option to automatically shut down the database after the last user disconnects.

See AutoStop connection parameter [ASTOP].

See also