MobiLink Synchronization User's Guide
Tutorial: Writing SQL Scripts Using Sybase Central
The MobiLink synchronization server can be started from a command prompt. Since the MobiLink synchronization server is a client to the consolidated database, your consolidated database must be started prior to starting MobiLink. If you shut down your consolidated database following Lesson 1, you should restart the database.
To start the MobiLink synchronization server
Ensure that your consolidated database is running by looking in the system tray for the SQL icon.
Open a command prompt and navigate to Samples\MobiLink\Autoscripting. Run the following command:
dbmlsrv9 -c "dsn=test_consol" -o mlserver.mls -v+ -dl -zu+
This command line specifies the following options:
-c Supply database connection parameters. For more information, see -c option.
-o Specify the message log file. For more information, see -o option.
-v+ Sets verbose logging on. For more information, see -v option.
-dl Sets the display log feature ON. For more information, see -dl option.
-zu+ 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 attempt to run the command again.
For more information about dbmlsrv9, see The MobiLink synchronization server.