Lesson 2: Create MobiLink scripts and start the MobiLink server
In this lesson, you prepare your consolidated database for synchronization using Sybase Central.
- From the Start menu, choose Programs » SQL Anywhere 11 » Sybase Central.
- In the Sybase Central Task pane, choose Create A Synchronization Model from the MobiLink 11 tasks.
- Type the Synchronization model name HelloBlackBerrySyncModel, and store the model in the c:\tutorial\database folder. Click Next.
- Click Choose a Consolidated Database.
- In the Connect window choose the HelloBlackBerry ODBC Data Source and click OK.
- Click Yes to create the MobiLink system setup.
- Choose No, Create A New Remote Schema.
- For downloads, choose Timestamp-based Download.
- Click Finish to complete creating the synchronization model and save the project.
- Right-click the synchronization model and choose Deploy. Choose to deploy only to the consolidated database.
- In the Deploy Synchronization Model Wizard, choose Save SQL and deploy the database. When prompted for the consolidated database, specify the ODBC data source HelloBlackBerry.
- For the MobiLink user and password choose user name mluser with password mlpassword.
- Click Finish to deploy the synchronization model to the consolidated database.