In this lesson, you create a consolidated database named MLconsolidated with the scripts required for synchronization using the dbinit utility. You then use the SQL Anywhere 12 driver to define an ODBC data source for the database.
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 MLconsolidated |
Start the consolidated database using the dbeng12 utility.
Run the following command:
dbeng12 MLconsolidated |
Click Start » Programs » SQL Anywhere 12 » 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 12, 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.
Proceed to Lesson 2: Generating a database schema.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |