In this lesson, you create a consolidated database named SIS_CarDealer_LP_DBLSN_CONDB with the scripts required for synchronization using the dbinit utility. You then use the SQL Anywhere 16 driver to define an ODBC data source for the SIS_CarDealer_LP_DBLSN_CONDB database.
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 light weight polling.
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, and set the DBA user ID to DBA and password to sql.
Change to the c:\MLsis directory and run the following command:
dbinit -dba DBA,sql SIS_CarDealer_LP_DBLSN_CONDB
Start the consolidated database.
Run the following command:
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 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_CarDealer_LP_DBLSN_CONDB.
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 SIS_CarDealer_LP_DBLSN_CONDB.
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|