Contents Index Lesson 3: Start the MobiLink synchronization server Summary

Introducing SQL Anywhere Studio
  Tutorial: Synchronizing Databases with MobiLink

Lesson 4: Run the MobiLink synchronization client utility


In this lesson you start the MobiLink synchronization client. You specify connection parameters at the command prompt using the -c option with the dbmlsync client utility. These parameters are for the remote database.

To run the MobiLink synchronization client

  1. Ensure the MobiLink synchronization server is started.

  2. At the command prompt type:

    dbmlsync -c "dsn=test_remote" -o dbmlsync.out -v

    For more information see MobiLink synchronization client.

Once you have executed the MobiLink synchronization remote database command, the output below appears.

The MobiLink synchronization client window, showing a successful synchronization.

You can check to see that this screen appears to ensure your synchronization has succeeded. You can then connect to the remote database and confirm that the cust table has three rows in. These rows were added at the consolidated database.

You may wish to add more rows at the remote and consolidated database, and synchronize them.

Clean up  
Be sure to delete all tutorial-related data sources and databases once you have finished this tutorial.

Contents Index Lesson 3: Start the MobiLink synchronization server Summary