MobiLink Synchronization User's Guide
Tutorial: Synchronizing Adaptive Server Anywhere Databases
Your consolidated database must be running prior to running MobiLink. If you shut down your consolidated database following Lesson 1, you should restart the database. You can start the MobiLink synchronization server from a command prompt.
To start the MobiLink synchronization server
Open a command prompt and navigate to the Samples\MobiLink\AutoScripting subdirectory of your SQL Anywhere 9 installation.
Run the following command line:
dbmlsrv9 -c "dsn=test_consol" -o mlserver.mls -v+ -dl -za -zu+
This command line specifies the following options:
-c The connection string for the MobiLink synchronization server uses the DSN for the consolidated database. For more information, see -c option.
-o The -o
option is used to specify the message log file. For more information, see -o option.
-v+ The -v+
option sets verbose logging on. For more information, see -v option.
-dl The -dl
option sets the display log feature ON. For more information, see -dl option.
-za The -za
option turns automated scripting ON. For more information, see -za option.
-zu+ The -zu+ option automates the user authentication process. For more information, see -zu option.
The options -o, -v, and -dl are chosen to provide debugging and troubleshooting information. Using these options in a production environment may affect performance. They typically are not used in a production environment.
Once you have executed the MobiLink synchronization server command, the output below appears.
If MobiLink is already running when you attempt to run dbmlsrv9, you will receive an error message. Shut down the current instance of MobiLink and run the command again.
For more information about the MobiLink synchronization server, see The MobiLink synchronization server.
For a complete list of dbmlsrv9 options, see MobiLink Synchronization Server Options.