Collection Contents Index Navigating Sybase Central Next PDF

SQL Anywhere® Server - Database Administration  > SQL Anywhere Administration Tools  > Sybase Central  > Navigating Sybase Central

Using connection profiles


When you first connect to a server or database, you typically enter a user name, password, and other connection parameters.

To make subsequent connections from Sybase Central easier, you can create a connection profile that saves a group of parameters under a name that you supply. From then on, you can use that profile to connect to the object in one step.

To use and manage connection profiles, choose Connections > Connection Profiles. This command opens the Connection Profiles dialog, where you can:

Note

Connection profiles are specific to Sybase Central. If you are building an ODBC application, you can achieve functionality similar to connection profiles using ODBC data sources. See Saving connection parameters in ODBC data sources.

To create a new connection profile
  1. In Sybase Central, choose Connections > Connection Profiles.

    The Connection Profiles dialog appears.

  2. Click New.

  3. In the New Connection Profile dialog, enter a name for the new profile and choose the appropriate plug-in. The plug-in is the product, such as SQL Anywhere 10 or MobiLink 10.

  4. If desired, allow other users to access the profile by selecting Share This Connection Profile With Other Users. This is useful on multi-user platforms such as Unix.

  5. Click OK.

    The Edit Connection Profile dialog appears.

  6. In the Edit Connection Profile dialog, enter the desired values, and then click OK to close the dialog.

To connect automatically when Sybase Central starts
  1. In Sybase Central, choose Connections > Connection Profiles.

    The Connection Profiles dialog appears.

  2. Select a connection profile.

  3. Click Set Startup to change the setting in the Use On Startup column to Yes.

To edit the parameters of an existing connection profile
  1. In Sybase Central, choose Connections > Connection Profiles.

    The Connection Profiles dialog appears.

  2. Select a connection profile.

  3. Click Edit.

    The Edit Connection Profile dialog appears.

  4. In the Edit Connection Profile dialog, edit the desired values.

To import a connection profile
  1. In Sybase Central, choose Connections > Connection Profiles.

    The Connection Profiles dialog appears.

  2. Click Import.

    The Import Connection Profile File dialog appears.

  3. Specify the name of the file containing the connection profile you want to import.

  4. Click OK.

To export a connection profile
  1. In Sybase Central, choose Connections > Connection Profiles.

    The Connection Profiles dialog appears.

  2. Select the connection profile you want to export.

  3. Click Export.

    The Save As dialog appears.

  4. Enter a name for the file to which you want to save the connection profile.

  5. Click Save.


Collection Contents Index Navigating Sybase Central Next PDF