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 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Using MobiLink with an Adaptive Server Enterprise consolidated database

 

Lesson 4: Connecting with MobiLink

In this lesson, you create an ODBC data source that connects MobiLink to the consolidated database.

Prerequisites

This lesson assumes you have completed all preceding lessons. See Lesson 1: Designing the schemas.

This lesson assumes you have the roles and privileges listed in the Permissions and privileges section at the start of this tutorial: Tutorial: Using MobiLink with an Adaptive Server Enterprise consolidated database.

 Task
  1. Create an ODBC data source.

    You should use the ODBC driver provided by Adaptive Server Enterprise. For this tutorial, use the following configuration settings:

    General tab fields Value
    Data Source Name ase_cons
    Description
    Server Name (ASE Host Name) localhost
    Server Port 5000
    Database Name pubs2
    Logon ID sa
    Use Cursors not selected
    Transaction tab field Value
    Server Initiated Transactions not selected
  2. Test the ODBC connection:

    1. On the General tab, click Test Connection.

      The Adaptive Server Enterprise Logon screen appears.

    2. Enter the password for the sa account and click OK.

      The Logon Succeeded message appears.

Results

The ODBC data source is created and tested.

Next

Proceed to Lesson 5: Creating a MobiLink project and synchronization model.

After configuring your ODBC data source, you can use the MobiLink 16 plug-in to connect to the consolidated database and create a synchronization model.

 See also