In this lesson, you start the MobiLink server to perform synchronization.
This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a new Android project.
Start MobiLink by running the following command from %SQLANYSAMP16%\MobiLink\CustDB\:
mlsrv16 -v+ -zu+ -c "DSN=SQL Anywhere 16 CustDB;UID=ml_server;PWD=sql" -x http(port=80) -ot ml.mls
The -c option connects MobiLink to the SQL Anywhere CustDB database. The -v+ option sets a high level of verbosity so that you can follow what is happening in the MobiLink server messages window. The -x option specifies the port number being used for the communications. The -ot option specifies that a log file (ml.mls) is to be created in the directory where you started the MobiLink server.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|