Connecting to a database on your own machine from Sybase Central or Sybase IQ

The simplest connection scenario is when the database you want to connect to resides on your own machine. If this is the case for you, ask yourself the following questions:

The procedures below depend on your answers to the questions.

StepsConnecting to a database on an already-running local server

  1. Start Sybase Central or Interactive SQL and open the Connect dialog (if it doesn’t appear automatically.)

  2. On the Identification tab of the dialog, enter a user ID and a password.

  3. Do one of the following:

    • If the server only contains the one database, click OK to connect to it.

    • If the server contains multiple databases, click the Database tab of the dialog and specify a database name. This is usually the database file name, without the path or extension.

StepsConnecting to a database that is not yet running

  1. Start Sybase Central or Interactive SQL and open the Connect dialog (if it doesn’t appear automatically).

  2. Open the Identification tab of the dialog, enter a user ID and a password.

  3. Click the Database tab of the dialog.

  4. Specify a file in the Database File field (including the full path, name, and extension). You can search for a file by clicking Browse.

  5. If you want the database name for subsequent connections to be different from the file name, enter a name in the Database Name field (without including a path or extension).

NoteTip If the database is already loaded (started) on the server, you only need to provide a database name for a successful connection. The database file is not necessary.

See also