Starting the SQL Anywhere Console utility

To start the SQL Anywhere Console utility (command prompt)

  • Run the following command:

    dbconsole

    If you do not include the -c option, which specifies the connection parameters for the database, or if you supply insufficient connection parameters, the Connect window appears, where you can enter connection information for the database.

    For information about the supported options, see SQL Anywhere Console utility (dbconsole).

    The following command starts the SQL Anywhere Console utility and connects to the sample database:

    dbconsole -c "UID=DBA;PWD=sql;DSN=SQL Anywhere 11 Demo"

The following steps can be used if you are using a version of Linux that supports the Linux desktop icons and if you chose to install them when you installed SQL Anywhere 11.

To start the SQL Anywhere Console utility (Linux desktop icons)

  1. From the Applications menu, choose SQL Anywhere 11 » DBConsole

    The SQL Anywhere Console utility opens, and the Connect window appears.

  2. Enter the connection information for your database in the Connect window.

Note

The following steps assume that you have already sourced the SQL Anywhere utilities. See Setting environment variables on Unix and Mac OS X.

To start the SQL Anywhere Console utility (Unix command line)

  1. In a terminal session, run the following command:

    dbconsole

    The SQL Anywhere Console utility opens, and the Connect window appears.

  2. Enter the connection information for your database in the Connect window.

To start the SQL Anywhere Console utility (Mac OS X)

  1. In the Finder, double-click DBConsole in /Applications/SQLAnywhere11.

  2. Enter the connection information for your database in the Connect window.