In this lesson, you create a consolidated database named MLconsolidated with the scripts required for synchronization using the dbinit utility. You then define an ODBC data source for the database.
Prerequisites
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Configuring server-initiated synchronization using gateways.
Create a new working directory to store the consolidated database.
This tutorial assumes c:\MLsis as the working directory.
Create the SQL Anywhere consolidated database using the dbinit utility.
Run the following command:
dbinit -dba DBA,sql MLconsolidated |
Start the consolidated database using the dbsrv16 utility.
Run the following command:
dbsrv16 MLconsolidated |
Click Start » Programs » SQL Anywhere 16 » Administration Tools » ODBC Data Source Administrator.
Click the User DSN tab, and then click Add.
In the Create New Data Source window, click SQL Anywhere 16, and then click Finish.
Perform the following tasks in the ODBC Configuration For SQL Anywhere window:
Click the ODBC tab.
In the Data source name field, type sis_cons.
Click the Login tab.
In the User ID field, type DBA.
In the Password field, type sql.
From the Action dropdown list, choose Connect to a running database on this computer.
In the Server name field, type MLconsolidated.
Click OK.
Close the ODBC data source administrator.
Click OK on the ODBC Data Source Administrator window.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |