Start a database server on your Windows Mobile device and connect to Alpha.db.
Prérequis
This lesson assumes that you have completed all preceding lessons. See Lesson 1: Creating Windows Mobile databases.
On your Windows Mobile device, tap Start » Programs » SQLAny16.
Tap Server.
In the Database field, type Alpha.db.
In the Server Name field, type MobileServer.
In the Options field, type -gd all -x tcpip(port=2639).
The -gd option sets the permissions to allow any user to start additional databases on the network database server. This is necessary in a later lesson. See -gd database server option.
The port that the database server uses is 2639. It is best to avoid using port 2638 because it is the default TCP/IP port for a SQL Anywhere server running on your desktop system. For more information, see -x database server option.
Click Use TCP/IP.
A TCP/IP connection is necessary to connect from a desktop computer to the database running on your Windows Mobile device.
Tap OK to start the sample database running on the network database server.
Navigate to the Today screen on your device.
Tap the database server icon located in the bottom right corner of the screen.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |