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 - Server-Initiated Synchronization » Server-initiated synchronization tutorials » Tutorial: Configuring server-initiated synchronization using gateways


Lesson 1: Setting up the consolidated database

In this lesson, you create a consolidated database named MLconsolidated with the scripts required for synchronization using the dbinit utility. You then define an ODBC data source for the database.


This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Configuring server-initiated synchronization using gateways.

  1. Create a new working directory to store the consolidated database.

    This tutorial assumes c:\MLsis as the working directory.

  2. Create the SQL Anywhere consolidated database using the dbinit utility.

  3. Run the following command:

    dbinit -dba DBA,sql MLconsolidated
  4. Start the consolidated database using the dbsrv16 utility.

    Run the following command:

    dbsrv16 MLconsolidated
  5. Click Start » Programs » SQL Anywhere 16 » Administration Tools » ODBC Data Source Administrator.

  6. Click the User DSN tab, and then click Add.

  7. In the Create New Data Source window, click SQL Anywhere 16, and then click Finish.

  8. Perform the following tasks in the ODBC Configuration For SQL Anywhere window:

    1. Click the ODBC tab.

    2. In the Data source name field, type sis_cons.

    3. Click the Login tab.

    4. In the User ID field, type DBA.

    5. In the Password field, type sql.

    6. From the Action dropdown list, choose Connect to a running database on this computer.

    7. In the Server name field, type MLconsolidated.

    8. Click OK.

  9. Close the ODBC data source administrator.

    Click OK on the ODBC Data Source Administrator window.


The consolidated database is created and an ODBC data source is defined.

 See also