Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » MobiLink - Server-Initiated Synchronization » Server-initiated synchronization tutorials » Tutorial: Configuring server-initiated synchronization using light weight polling


Lesson 1: Setting up the consolidated database

In this lesson, you create a consolidated database named SIS_CarDealer_LP_DBLSN_CONDB with the scripts required for synchronization using the dbinit utility. You then use the SQL Anywhere 12 driver to define an ODBC data source for the SIS_CarDealer_LP_DBLSN_CONDB database.

 Set up the SQL Anywhere consolidated database
  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.

    Run the following command:

    dbinit SIS_CarDealer_LP_DBLSN_CONDB
  3. Start the consolidated database.

    Run the following command:

    dbeng12 SIS_CarDealer_LP_DBLSN_CONDB
  4. Click Start » Programs » SQL Anywhere 12 » Administration Tools » ODBC Data Source Administrator.

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

  6. In the Create New Data Source window, click SQL Anywhere 12 and click Finish.

  7. 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_CarDealer_LP_DBLSN_CONDB.

    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 SIS_CarDealer_LP_DBLSN_CONDB.

    8. Click OK.

  8. Close the ODBC data source administrator.

    Click OK on the ODBC Data Source Administrator window.

  9. Proceed to Lesson 2: Generating a database schema.

 See also