Starting the SQL Anywhere Console utility

 To start the SQL Anywhere Console utility (command line)
  • 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 12 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.

 To start the SQL Anywhere Console utility (Linux desktop icons)
  1. From the Applications menu, choose SQL Anywhere 12 » DBConsole.

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

  3. Click Connect.

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
  2. Enter the connection information for your database in the Connect window.

  3. Click Connect.

Mac OS X note

The administration tools only run on Intel-based Macintosh computers with 64-bit processors supported by the Apple JDK 1.6 (Mac OS X 10.5.2 or later). See [external link] http://www.sybase.com/detail?id=1061806.

 To start the SQL Anywhere Console utility (Mac OS X)
  1. In the Finder, double-click DBConsole in /Applications/SQLAnywhere12.

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

  3. Click Connect.

 See also