In this lesson, you create a database and define an ODBC data source.
This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a text file data source.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Using direct row handling.
Context and remarks
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.
If you already have a MobiLink consolidated database set up with MobiLink system objects and an ODBC data source, you can skip this lesson.
Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.
Click Tools » SQL Anywhere 16 » Create Database.
Accept the default value Create a database on this computer and 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:\MLdirect\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.
The MLconsolidated database appears in Sybase Central.
Click Close on the Creating Database window if the window did not close automatically.
Use the SQL Anywhere 16 driver to define an ODBC data source for the MLconsolidated database.
In Sybase Central, click Tools » SQL Anywhere 16 » Open ODBC Administrator.
Click the User DSN tab and 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 mldirect_db.
Click the Login tab.
In the User ID field, type DBA.
In the Password field, type sql.
In the Server name field, type MLconsolidated.
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|