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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » SQL Anywhere database connections » Database connections

 

Connecting to the sample database (Sybase Central)

Connect to the sample database to explore SQL Anywhere and try out many of the examples found throughout the documentation.

Prérequis

Contexte et remarques

Sybase Central is a graphical tool that can be used as an alternative to using SQL statements and command line utilities for managing your database servers, databases, and the objects they contain.

This procedure does not apply to Windows Mobile.

 Task
  1. Open Sybase Central by clicking Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.

    Note
    • Mac OS X   In the Finder, double-click Sybase Central in /Applications/SQLAnywhere16.

    • Unix   In a terminal session, run the following command:
      scjview

    • Linux   Click Applications » SQL Anywhere 16 » Administration Tools » Sybase Central.

  2. Click Connections » Connect with SQL Anywhere 16.

  3. In the Action dropdown list, click Connect with an ODBC Data Source.

  4. Click ODBC Data Source name, and then type SQL Anywhere 16 Demo in the field below.

    Note
    • You do not need to enter a user ID and a password for this connection because the SQL Anywhere 16 Demo data source already contains this information.

      In a production environment, you should not store passwords in an ODBC data source.

    • The database server does not need to be running before connecting since the SQL Anywhere 16 Demo data source automatically starts the database server.

  5. (Optional) To get a copy of the connection string that is created with this window, click Tools » Copy Connection String to Clipboard.

  6. Click Connect.

Résultat

The database server and database start and Sybase Central connects to the sample database.

 See also