Lesson 2: Connect to the database

In this lesson, you use Sybase Central to connect to the database file you created. However, if you just finished creating the database, you are already connected to it, and you can skip directly to the next lesson, where you learn to create tables. See Lesson 3: Add tables to the database.

To connect to your database
  1. Start Sybase Central.

  2. Choose Connections » Connect With SQL Anywhere 11.

  3. In the User ID field, type DBA. This is the default user ID for a new database.

  4. In the Password field, type sql. This is the default password for a new database.

  5. Select None in the default connections area.

  6. Click the Database tab and in the Database File field type the full path of your database file. For example, type:

    c:\temp\mysample.db
  7. Click OK.

    The database starts, and information about the database and the database server it is running on, appear in Sybase Central.

    Sybase Central, connected to the mysample database.
See also