This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up an Excel worksheet.
Your MobiLink consolidated database is a central repository of data and includes MobiLink system tables and stored procedures used to manage the synchronization process. With direct row handling, you synchronize with a data source other than a consolidated database, but you still need a consolidated database to maintain information used by the MobiLink server.
In this lesson, you create a database and define an ODBC data source.
If you already have a MobiLink consolidated database set up with MobiLink system objects and a DSN, you can skip this lesson.
Click Start » Programs » SQL Anywhere 12 » Administration Tools » Sybase Central.
Click Tools » SQL Anywhere 12 » Create Database.
Click Next.
Leave the default of Create Database On This Computer, and then click Next.
In the Save The Main Database File To The Following File field, type the file name and path for the database. For example, c:\MLobjexcel\MLconsolidated.db.
Follow the remaining instructions in the Create Database Wizard and accept the default values. On the Connect To The Database page, clear the Stop The Database After Last Disconnect option.
Click Finish.
The MLconsolidated database appears in Sybase Central.
Click Close on the Creating Database window.
In Sybase Central, click Tools » SQL Anywhere 12 » Open ODBC 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 mlexcel_db.
Click the Login tab.
In the User ID field, type DBA.
In the Password field, type sql.
From the Action dropdown list, click Connect To A Running Database On This Computer.
In the Server Name field, type MLconsolidated.
Click OK.
Close ODBC data source administrator.
Click OK on the ODBC Data Source Administrator window.
Proceed to Lesson 3: Creating a table in your MobiLink consolidated database.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |