In this lesson you connect to the consolidated database by creating a new MobiLink project. A synchronization model is created automatically when you create a new project.
Prérequis
This lesson assumes you have completed all preceding lessons. See Lesson 1: Designing the schemas.
This lesson assumes you have the roles and privileges listed in the Permissions and privileges section at the start of this tutorial: Tutorial: Using MobiLink with an Adaptive Server Enterprise consolidated database.
Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.
Click Tools » MobiLink 16 » New Project.
The Create Project Wizard appears.
In the Name field, type ase_project.
In the Location field, type C:\mlase, and click Next.
In the Database display name field, type ase_cons.
Click Edit.
Perform the following tasks in the Connect To A Generic ODBC Database page:
In the User ID field, type sa.
In the Password field, type the password for the sa account.
In the ODBC Data Source name field, click Browse, and choose ase_cons.
Click OK, and click Save.
Select the Remember the password option, and click Next.
On the New Remote Database Schema page, in the Which consolidated database tables and columns do you want to have in your remote database list, choose the following tables:
Click Next.
Select the Add a remote schema name to the project option.
Type ase_remote_schema for the remote schema name, and then click Next.
Check SQL Anywhere and then click Finish.
If this is the first time the consolidated database has been used by MobiLink, a message appears asking you to install the MobiLink system setup. Installing the MobiLink system setup adds MobiLink system tables and procedures. Click Yes, and then click OK.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |