Initiating synchronization

The client always initiates MobiLink synchronization. In the case of a SQL Anywhere client, synchronization is initiated by running the dbmlsync utility. This utility connects to and synchronizes a SQL Anywhere remote database.

See MobiLink SQL Anywhere client utility [dbmlsync].

You can specify connection parameters on the dbmlsync command line using the -c option. These parameters are for the remote database. If you do not specify connection parameters, a connection window appears, asking you to supply the missing connection parameters and startup options.

See -c option.

Client network protocol options can be stored in the synchronization subscription, publication or user in the remote database; or can be specified on the dbmlsync command line. These are used to locate the appropriate MobiLink server.

See CommunicationAddress (adr) extended option.

Permissions for dbmlsync

When dbmlsync connects to a database, it must have permissions to apply all the changes being made. The dbmlsync command line contains the password for this connection. This could present a security issue.

To avoid security problems, grant a user (other than DBA) REMOTE DBA authority, and use this user ID in the dbmlsync connection string. A user ID with REMOTE DBA authority has DBA authority only when the connection is made from the dbmlsync utility. Any other connection using the same user ID is granted no special authority.

See GRANT REMOTE DBA statement [MobiLink] [SQL Remote].

Customizing synchronization

See Customizing dbmlsync synchronization.


Using dbmlsync extended options
Transaction log files
Concurrency during synchronization
Initiating synchronization from an application