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 - Getting Started » MobiLink tutorials » Tutorial: Using central administration of remote databases

 

Lesson 1: Creating a consolidated database

In this lesson, you set up a consolidated database. If you have an existing synchronization system, proceed to Lesson 2: Creating a MobiLink project.

 Create a consolidated database
  1. Run the following commands to create directories to be used in this tutorial. The consolidated directory contains all the database and other files that would normally reside on your central server.

    md c:\cadmin_demo
    md c:\cadmin_demo\consolidated
  2. Create a SQL Anywhere consolidated database and an ODBC data source to connect to it.

    cd c:\cadmin_demo\consolidated
    dbinit consol.db
    start dbeng12 consol.db
    dbdsn -w cadmin_tutorial_consol consol -y -c "UID=DBA;PWD=sql;DBF=consol.db;SERVER=consol"
    cd ..
  3. Proceed to Lesson 2: Creating a MobiLink project.