Connecting to the Sample Database

Use the default database connection profile to test and connect to the sample database.

Prerequisites
Start Unwired WorkSpace.
Task
The Sybase Unwired Platform installation includes a sample database, sampledb, which you can use to create and test mobile business objects (MBOs). A default connection profile (My Sample Database), also included in the installation, is configured to access the sample database (sampledb).

Starting Sybase Unwired Platform Services normally starts the sample database automatically; however, if you are running the Deployment Edition or Personal Edition, you must start the database manually.

In this task, you start the database, if necessary, then connect to the sample database using the default connection profile. This task is required for all tutorials, but you need to perform it only once.

  1. In Enterprise Explorer, expand Database Connections.
  2. Right-click My Sample Database and select Ping to confirm that the connection profile can connect to the sample database.
    • If the ping succeeds, click OK and go to step 5.
    • If the ping fails, go to step 4.
  3. If the ping fails, verify that Unwired Platform Services, including the Sybase Unwired SampleDB, are running:
    1. On your Windows desktop, open the Services window.
      For example (using the Windows XP Classic View), select Start > Settings > Control Panel. In the Control Panel, double-click Administrative Tools, then double-click Services.
      Your installation options (for example, license type, whether or not you installed a cluster, and so on) determine which Sybase services are running.

    2. In the Services window, check the Status column of the Sybase Unwired SampleDB service. If the status is not Started, right-click the service and select Start.
    3. Return to step 2.
  4. Right-click My Sample Database and select Connect.
    In Enterprise Explorer, the sampledb database appears under the My Sample Database connection profile.